From fe3a2ce06e1a31443f824e2e9812396f487336f6 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Thu, 3 Feb 2005 11:00:02 +0000 Subject: [PATCH] Fixed register overwriting when using Check SRAM+Save. --- zsnes/src/vcache.asm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/zsnes/src/vcache.asm b/zsnes/src/vcache.asm index 6d7d4417..5a6c342d 100644 --- a/zsnes/src/vcache.asm +++ b/zsnes/src/vcache.asm @@ -314,14 +314,10 @@ NEWSYM cachevideo jne .nofocussave pushad call SaveSramData - popad -; mov dword[Msgptr],SaveRamSaved -; mov eax,[MsgCount] -; mov [MessageOn],eax - ; change dir to LoadDrive/LoadDir mov dl,[LoadDrive] mov ebx,LoadDir call Change_Dir + popad jmp .nofocussave .nofocussaveb mov dword[sramb4save],0