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

View File

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