Fixed register overwriting when using Check SRAM+Save.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user