From f7a1a99e2548b23bc318271c22d6ad53c2977aae Mon Sep 17 00:00:00 2001 From: OV2 Date: Wed, 28 Mar 2012 00:17:18 +0200 Subject: [PATCH] Return zero state size if emulation is stopped --- snapshot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/snapshot.cpp b/snapshot.cpp index 0f2cc960..ba6a11c8 100644 --- a/snapshot.cpp +++ b/snapshot.cpp @@ -1171,6 +1171,7 @@ void S9xResetSaveTimer (bool8 dontsave) uint32 S9xFreezeSize() { + if(Settings.StopEmulation) return 0; nulStream stream; S9xFreezeToStream(&stream); return stream.size();