fix case in auto save state filename
This commit is contained in:
@@ -3450,7 +3450,11 @@ SaveSecondState:
|
|||||||
call ChangetoSRAMdir
|
call ChangetoSRAMdir
|
||||||
mov ebx,[statefileloc]
|
mov ebx,[statefileloc]
|
||||||
mov al,[fnamest+ebx]
|
mov al,[fnamest+ebx]
|
||||||
|
%ifdef __LINUX__
|
||||||
|
mov byte[fnamest+ebx],'s'
|
||||||
|
%else
|
||||||
mov byte[fnamest+ebx],'S'
|
mov byte[fnamest+ebx],'S'
|
||||||
|
%endif
|
||||||
push eax
|
push eax
|
||||||
call statesaver
|
call statesaver
|
||||||
pop eax
|
pop eax
|
||||||
@@ -3463,7 +3467,11 @@ LoadSecondState:
|
|||||||
call ChangetoSRAMdir
|
call ChangetoSRAMdir
|
||||||
mov ebx,[statefileloc]
|
mov ebx,[statefileloc]
|
||||||
mov al,[fnamest+ebx]
|
mov al,[fnamest+ebx]
|
||||||
|
%ifdef __LINUX__
|
||||||
|
mov byte[fnamest+ebx],'s'
|
||||||
|
%else
|
||||||
mov byte[fnamest+ebx],'S'
|
mov byte[fnamest+ebx],'S'
|
||||||
|
%endif
|
||||||
push eax
|
push eax
|
||||||
call loadstate2
|
call loadstate2
|
||||||
pop eax
|
pop eax
|
||||||
|
|||||||
Reference in New Issue
Block a user