mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
If RetroAchievements' "Hardcore mode" is enabled, prevent debugger use
Fixes an easy way you could access the debugger windows.
This commit is contained in:
1 parent
198dca7a71
commit
42b46e2098
5 files changed
+32
-6
No files matched your search
@@ -576,6 +576,10 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) {
|
||||
ProcessUpdateDialog();
|
||||
updateDialogScheduled_ = false;
|
||||
KillTimer(GetDlgHandle(), wParam);
|
||||
|
||||
if (Achievements::HardcoreModeActive()) {
|
||||
SendMessage(m_hDlg, WM_CLOSE, 0, 0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user