fix case in auto save state filename

This commit is contained in:
theoddone33
2001-05-17 02:55:22 +00:00
parent 6146070881
commit 75a42ab0f3

View File

@@ -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