From 0110b89b138d2bc0121c9094f8e21393d81f5e3c Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Mon, 10 Sep 2001 21:41:00 +0000 Subject: [PATCH] Changed variable name --- zsnes/src/cpu/execute.asm | 8 ++++---- zsnes/src/gui/menu.asm | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/zsnes/src/cpu/execute.asm b/zsnes/src/cpu/execute.asm index 3bd4de48..0e759523 100644 --- a/zsnes/src/cpu/execute.asm +++ b/zsnes/src/cpu/execute.asm @@ -981,7 +981,7 @@ NEWSYM abcdefg1, dd 0 NEWSYM abcdefg2, dd 0 NEWSYM abcdefg3, dd 0 NEWSYM SSKeyPressed, dd 0 -NEWSYM SaveSPCKeyPressed, dd 0 +NEWSYM SPCKeyPressed, dd 0 NEWSYM NoSoundReinit, dd 0 NEWSYM NextNGDisplay, db 0 NEWSYM TempVidInfo, dd 0 @@ -1257,7 +1257,7 @@ reexecuteb2: jnz near loadstate cmp byte[SSKeyPressed],1 je near showmenu - cmp byte[SaveSPCKeyPressed],1 + cmp byte[SPCKeyPressed],1 je near showmenu cmp byte[debugdisble],0 jne .nodebugger @@ -2302,7 +2302,7 @@ NEWSYM exitloop mov eax,[KeyQuickSaveSPC] mov byte[pressed+eax],0 mov byte[SSKeyPressed],0 - mov byte[SaveSPCKeyPressed],0 + mov byte[SPCKeyPressed],0 jmp cpuover.returntoloop .okay mov byte[ExecExitOkay],5 @@ -2794,7 +2794,7 @@ NEWSYM cpuover jz .nosavespckey test byte[pressed+eax],1 jz .nosavespckey - mov byte[SaveSPCKeyPressed],1 + mov byte[SPCKeyPressed],1 mov byte[pressed+eax],2 jmp exitloop .nosavespckey diff --git a/zsnes/src/gui/menu.asm b/zsnes/src/gui/menu.asm index b5c54f9e..1b8bba6d 100644 --- a/zsnes/src/gui/menu.asm +++ b/zsnes/src/gui/menu.asm @@ -27,7 +27,7 @@ EXTSYM spcon,vesa2_bpos,vesa2_clbit,vesa2_gpos,vesa2_rpos,vesa2selec EXTSYM vidbuffer,spritetablea,sprlefttot,newengen,spcextraram,resolutn EXTSYM Open_File,Close_File,Read_File,Write_File,Create_File,Get_Key,Get_Date EXTSYM continueprognokeys,ForceNonTransp,GUIOn,Check_Key,JoyRead -EXTSYM GetScreen,SSKeyPressed,SaveSPCKeyPressed,StopSound,StartSound +EXTSYM GetScreen,SSKeyPressed,SPCKeyPressed,StopSound,StartSound EXTSYM ExecExitOkay,t1cc EXTSYM Clear2xSaIBuffer EXTSYM romdata,romtype,ScreenShotFormat @@ -158,7 +158,7 @@ NEWSYM showmenu call savepcx jmp .nopalwrite .nosskey - cmp byte[SaveSPCKeyPressed],1 + cmp byte[SPCKeyPressed],1 je near .savespckey test byte[pressed+14],1 jz .nof12 @@ -383,9 +383,9 @@ NEWSYM showmenu mov eax,[MsgCount] mov [MessageOn],eax .nosnddmp - cmp byte[SaveSPCKeyPressed],1 + cmp byte[SPCKeyPressed],1 jne .exitloop - mov byte[SaveSPCKeyPressed],0 + mov byte[SPCKeyPressed],0 jmp .nopalwrite .exitloop call GUIUnBuffer