Commit 67728dc9 authored by bbbradsmith's avatar bbbradsmith
Browse files

more gracefully handling savestate load from within gui

parent 7d7d759d
......@@ -133,7 +133,10 @@ bool hatari_mapper_serialize(char* data, char version)
bool hatari_mapper_unserialize(const char* data, char version)
serialize_forward = false;
return hatari_mapper_serialize_bidi((char*)data, version);
int pauseg_old = pauseg;
bool result = hatari_mapper_serialize_bidi((char*)data, version);
if (pauseg_old) pauseg = pauseg_old; // because of the co-thread implementation there's really no way to save-state out of the GUI, so: stay paused
return result;
// input state
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment