Limit rewind buffer on 32bit

Signed-off-by: OV2 <OV2@sessionclan.de>
This commit is contained in:
DaMan 2015-02-01 10:08:09 -05:00 committed by OV2
parent 70cf3df1b4
commit 61f1358849
1 changed files with 5 additions and 0 deletions

View File

@ -4025,7 +4025,12 @@ static bool LoadROM(const TCHAR *filename) {
S9xNPServerQueueSendingLoadROMRequest (Memory.ROMName);
#endif
if(GUI.rewindBufferSize)
{
#if !_WIN64
if (GUI.rewindBufferSize > 1024) GUI.rewindBufferSize = 1024;
#endif
stateMan.init(GUI.rewindBufferSize * 1024 * 1024);
}
}
if(GUI.ControllerOption == SNES_SUPERSCOPE)