From 75a42ab0f3e868fbaf5c8a8d0f6cc7c540392207 Mon Sep 17 00:00:00 2001 From: theoddone33 <> Date: Thu, 17 May 2001 02:55:22 +0000 Subject: [PATCH] fix case in auto save state filename --- zsnes/src/gui/gui.asm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zsnes/src/gui/gui.asm b/zsnes/src/gui/gui.asm index c7214375..b14a7665 100644 --- a/zsnes/src/gui/gui.asm +++ b/zsnes/src/gui/gui.asm @@ -3450,7 +3450,11 @@ SaveSecondState: call ChangetoSRAMdir mov ebx,[statefileloc] mov al,[fnamest+ebx] +%ifdef __LINUX__ + mov byte[fnamest+ebx],'s' +%else mov byte[fnamest+ebx],'S' +%endif push eax call statesaver pop eax @@ -3463,7 +3467,11 @@ LoadSecondState: call ChangetoSRAMdir mov ebx,[statefileloc] mov al,[fnamest+ebx] +%ifdef __LINUX__ + mov byte[fnamest+ebx],'s' +%else mov byte[fnamest+ebx],'S' +%endif push eax call loadstate2 pop eax