[Debug] Remove F7/F8 debug bindings for save/restore state

F7 now conflicts with performance dialog so removing these as they're
not functional anyway and are breaking the debug build
This commit is contained in:
Herman S.
2025-12-07 17:04:17 +09:00
parent 7969cc6ff2
commit d070052022
-15
View File
@@ -1091,21 +1091,6 @@ void EmulatorWindow::OnKeyDown(ui::KeyEvent& e) {
SetFullscreen(false);
} break;
#ifdef DEBUG
case ui::VirtualKey::kF7: {
// Save to file
// TODO: Choose path based on user input, or from options
// TODO: Spawn a new thread to do this.
emulator()->SaveToFile("test.sav");
} break;
case ui::VirtualKey::kF8: {
// Restore from file
// TODO: Choose path from user
// TODO: Spawn a new thread to do this.
emulator()->RestoreFromFile("test.sav");
} break;
#endif // #ifdef DEBUG
case ui::VirtualKey::kPause: {
CpuBreakIntoDebugger();
} break;