Add search functionality to disassembler

This commit is contained in:
Henrik Rydgård
2024-11-23 23:23:52 +01:00
parent 194b2ce076
commit c5eb600044
5 changed files with 72 additions and 40 deletions
+2 -1
View File
@@ -556,7 +556,8 @@ namespace MainWindow {
case ID_FILE_SAVESTATE_NEXT_SLOT_HC:
{
if (!Achievements::WarnUserIfHardcoreModeActive(true)) {
if (!KeyMap::PspButtonHasMappings(VIRTKEY_NEXT_SLOT)) {
// We let F3 (search next) in the imdebugger take priority, if active.
if (!KeyMap::PspButtonHasMappings(VIRTKEY_NEXT_SLOT) && !g_Config.bShowImDebugger) {
SaveState::NextSlot();
System_PostUIMessage(UIMessage::SAVESTATE_DISPLAY_SLOT);
}