mirror of https://github.com/snes9xgit/snes9x.git
Return zero state size if emulation is stopped
This commit is contained in:
parent
da4829ec90
commit
f7a1a99e25
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue