Lilypad: Remove saveStateIndex.

Was used in saveStateTitle.
This commit is contained in:
lightningterror 2020-09-03 02:41:48 +02:00
parent 93274bfa49
commit 451f4267ba
1 changed files with 0 additions and 9 deletions

View File

@ -825,10 +825,6 @@ struct QueryInfo
u8 response[42]; u8 response[42];
} query = {0, 0, 0, 0, 0, 0xFF, {0xF3}}; } query = {0, 0, 0, 0, 0, 0xFF, {0xF3}};
#ifdef _MSC_VER
int saveStateIndex = 0;
#endif
s32 CALLBACK PADinit(u32 flags) s32 CALLBACK PADinit(u32 flags)
{ {
// Note: Won't load settings if already loaded. // Note: Won't load settings if already loaded.
@ -1529,11 +1525,6 @@ keyEvent *CALLBACK PADkeyEvent()
PrepareActivityState(false); PrepareActivityState(false);
} }
if (ev.key == VK_F2 && ev.evt == KEYPRESS) {
saveStateIndex += 1 - 2 * shiftDown;
saveStateIndex = (saveStateIndex + 10) % 10;
}
// So don't change skip mode on alt-F4. // So don't change skip mode on alt-F4.
if (ev.key == VK_F4 && altDown) { if (ev.key == VK_F4 && altDown) {
return 0; return 0;