mirror of
https://github.com/izzy2lost/xenia-edge.git
synced 2026-07-06 00:20:26 -07:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user