summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-17 23:50:41 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-17 23:50:41 -0700
commit4e282f87d2f2ee80e7d136ab6d335227a438caa1 (patch)
tree14af38b66151b5089e79cd6b284595f7f7239a9f /io.c
parent87e279c0c1accec9b86d70d48241a123e4a0e492 (diff)
Save State menu option is now fully functional. Load state sort of works, but is mostly broken.
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index c1e879a..aaa38cf 100644
--- a/io.c
+++ b/io.c
@@ -349,7 +349,7 @@ void handle_binding_up(keybinding * binding)
break_on_sync = 1;
break;
case UI_SAVE_STATE:
- save_state = 1;
+ genesis->save_state = QUICK_SAVE_SLOT+1;
break;
case UI_NEXT_SPEED:
current_speed++;