# HG changeset patch # User Michael Pavone # Date 1700865841 28800 # Node ID 66b3f2eda0c8e90b6e38fb907573d9b4b42de173 # Parent a8c069d847a094841f7d15fb0dc805e0369b76ab Fix regression in savestate loading diff -r a8c069d847a0 -r 66b3f2eda0c8 m68k_core.c --- a/m68k_core.c Wed Nov 22 23:07:30 2023 -0800 +++ b/m68k_core.c Fri Nov 24 14:44:01 2023 -0800 @@ -1312,4 +1312,5 @@ context->int_num = load_int8(buf); context->int_pending = load_int8(buf); context->trace_pending = load_int8(buf); + context->stack_storage_count = 0; }