From 2b5d8f1df642425e4e73a0ae8de668e0b146d21a Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Fri, 22 Jan 2021 22:46:49 +0100 Subject: [PATCH] some more bugfixes --- src/mon_m65/bsmon.s | 2 ++ src/mon_m65/mon_command_load_save.s | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mon_m65/bsmon.s b/src/mon_m65/bsmon.s index e7f93ca9..7b6c9939 100644 --- a/src/mon_m65/bsmon.s +++ b/src/mon_m65/bsmon.s @@ -166,6 +166,8 @@ Print_Commands: JSR PRIMM !pet KEY_RETURN,KEY_RVS_ON," commands: " + ; In case of changes in command numbering, adapt 'Load_Save' + ; *********** Command_Char: ; *********** diff --git a/src/mon_m65/mon_command_load_save.s b/src/mon_m65/mon_command_load_save.s index d85a881c..f40a5b8c 100644 --- a/src/mon_m65/mon_command_load_save.s +++ b/src/mon_m65/mon_command_load_save.s @@ -34,10 +34,10 @@ Load_Save: ; Separate flow for SAVE lda VERCKK - cmp #'S' + cmp #21 ; 'S' beq Mon_Save sec - sbc #'L' + sbc #20 ; 'L' sta VERCKK ; 0 for load, other value for verify ; FALLTROUGH @@ -86,7 +86,6 @@ Mon_Load_Verify: lda VERCKK jsr m65_shadow_BZP jsr LOAD - bra Mon_Load_Save_Common Mon_Save: