Port of statesaver to C, new resolution for SDL port, fixed bilinear filter in GUI
This commit is contained in:
@@ -3677,7 +3677,9 @@ GUIProcStates:
|
||||
popad
|
||||
cmp byte[GUIStatesText5],1
|
||||
je .loadstate
|
||||
pushad
|
||||
call statesaver
|
||||
popad
|
||||
jmp .changedir
|
||||
.loadstate
|
||||
cmp byte[CNetType],20
|
||||
@@ -3698,9 +3700,9 @@ SaveSecondState:
|
||||
mov ebx,[statefileloc]
|
||||
mov al,[fnamest+ebx]
|
||||
mov byte[fnamest+ebx],'s'
|
||||
push eax
|
||||
pushad
|
||||
call statesaver
|
||||
pop eax
|
||||
popad
|
||||
mov ebx,[statefileloc]
|
||||
mov [fnamest+ebx],al
|
||||
call ChangetoLOADdir
|
||||
|
||||
@@ -62,7 +62,9 @@ MovieRecord:
|
||||
mov byte[NoPictureSave],1
|
||||
cmp byte[MovieProcessing],0
|
||||
jne .nostatesaver
|
||||
pushad
|
||||
call statesaver
|
||||
popad
|
||||
.nostatesaver
|
||||
mov byte[NoPictureSave],0
|
||||
mov edx,fnamest+1
|
||||
|
||||
@@ -18,12 +18,6 @@
|
||||
;along with this program; if not, write to the Free Software
|
||||
;Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
; Tools for the GUI (string functions are also used elsewhere)
|
||||
|
||||
NEWSYM CopyString
|
||||
|
||||
@@ -857,7 +857,9 @@ NEWSYM savespcdata
|
||||
ChangeDir SPCPath
|
||||
sub dword[spcPCRam],spcRam
|
||||
sub dword[spcRamDP],spcRam
|
||||
pushad
|
||||
call PrepareSaveState
|
||||
popad
|
||||
; Copy from fnames to .spcfname, replacing .srm with .spc
|
||||
mov esi,fnames+1
|
||||
mov edi,.spcfname
|
||||
@@ -1009,7 +1011,9 @@ NEWSYM savespcdata
|
||||
|
||||
add dword[spcPCRam],spcRam
|
||||
add dword[spcRamDP],spcRam
|
||||
pushad
|
||||
call ResetState
|
||||
popad
|
||||
|
||||
%ifdef SPCDUMP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user