aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/libpicofe/0004-1-indexed-state-slots.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/libpicofe/0004-1-indexed-state-slots.patch b/patches/libpicofe/0004-1-indexed-state-slots.patch
new file mode 100644
index 0000000..29ebe2b
--- /dev/null
+++ b/patches/libpicofe/0004-1-indexed-state-slots.patch
@@ -0,0 +1,22 @@
+diff --git a/menu.c b/menu.c
+index e91f84a..e19902e 100644
+--- a/menu.c
++++ b/menu.c
+@@ -1203,7 +1203,7 @@ rescan:
+
+ // ------------ savestate loader ------------
+
+-#define STATE_SLOT_COUNT 10
++#define STATE_SLOT_COUNT 9
+
+ static int state_slot_flags = 0;
+ static int state_slot_times[STATE_SLOT_COUNT];
+@@ -1263,7 +1263,7 @@ static void draw_savestate_menu(int menu_sel, int is_loading)
+ }
+ }
+
+- text_out16(x, y, "SLOT %i (%s)", i, time_buf);
++ text_out16(x, y, "SLOT %i (%s)", i+1, time_buf);
+ }
+ text_out16(x, y, "back");
+