Fixed register overwriting when using Check SRAM+Save.

This commit is contained in:
n-a-c-h
2005-02-03 11:00:02 +00:00
parent 22537a6749
commit fe3a2ce06e

View File

@@ -314,14 +314,10 @@ NEWSYM cachevideo
jne .nofocussave jne .nofocussave
pushad pushad
call SaveSramData call SaveSramData
popad
; mov dword[Msgptr],SaveRamSaved
; mov eax,[MsgCount]
; mov [MessageOn],eax
; change dir to LoadDrive/LoadDir
mov dl,[LoadDrive] mov dl,[LoadDrive]
mov ebx,LoadDir mov ebx,LoadDir
call Change_Dir call Change_Dir
popad
jmp .nofocussave jmp .nofocussave
.nofocussaveb .nofocussaveb
mov dword[sramb4save],0 mov dword[sramb4save],0