mirror of https://github.com/snes9xgit/snes9x.git
Limit rewind buffer on 32bit
Signed-off-by: OV2 <OV2@sessionclan.de>
This commit is contained in:
parent
70cf3df1b4
commit
61f1358849
|
@ -4025,8 +4025,13 @@ static bool LoadROM(const TCHAR *filename) {
|
||||||
S9xNPServerQueueSendingLoadROMRequest (Memory.ROMName);
|
S9xNPServerQueueSendingLoadROMRequest (Memory.ROMName);
|
||||||
#endif
|
#endif
|
||||||
if(GUI.rewindBufferSize)
|
if(GUI.rewindBufferSize)
|
||||||
|
{
|
||||||
|
#if !_WIN64
|
||||||
|
if (GUI.rewindBufferSize > 1024) GUI.rewindBufferSize = 1024;
|
||||||
|
#endif
|
||||||
stateMan.init(GUI.rewindBufferSize * 1024 * 1024);
|
stateMan.init(GUI.rewindBufferSize * 1024 * 1024);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(GUI.ControllerOption == SNES_SUPERSCOPE)
|
if(GUI.ControllerOption == SNES_SUPERSCOPE)
|
||||||
SetCursor (GUI.GunSight);
|
SetCursor (GUI.GunSight);
|
||||||
|
|
Loading…
Reference in New Issue