Return zero state size if emulation is stopped

This commit is contained in:
OV2 2012-03-28 00:17:18 +02:00
parent da4829ec90
commit f7a1a99e25
1 changed files with 1 additions and 0 deletions

View File

@ -1171,6 +1171,7 @@ void S9xResetSaveTimer (bool8 dontsave)
uint32 S9xFreezeSize()
{
if(Settings.StopEmulation) return 0;
nulStream stream;
S9xFreezeToStream(&stream);
return stream.size();