aboutsummaryrefslogtreecommitdiff
path: root/patches/libpicofe/0004-1-indexed-state-slots.patch
blob: 29ebe2b17a7b26635ebb36cc48e89ece0f6adbb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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");