mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Move SetDebugMode notification
This commit is contained in:
1 parent
fc1732cc22
commit
f60f5ccaea
13 files changed
+20
-33
No files matched your search
+6
-2
@@ -384,9 +384,8 @@ void System_Notify(SystemNotification notification) {
|
||||
g_symbolMap->SortSymbols();
|
||||
PostMessage(MainWindow::GetHWND(), WM_USER + 1, 0, 0);
|
||||
|
||||
bool mode = !g_Config.bAutoRun;
|
||||
if (disasmWindow)
|
||||
PostDialogMessage(disasmWindow, WM_DEB_SETDEBUGLPARAM, 0, (LPARAM)mode);
|
||||
PostDialogMessage(disasmWindow, WM_DEB_SETDEBUGLPARAM, 0, (LPARAM)Core_IsStepping());
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -421,6 +420,11 @@ void System_Notify(SystemNotification notification) {
|
||||
case SystemNotification::SWITCH_UMD_UPDATED:
|
||||
PostMessage(MainWindow::GetHWND(), MainWindow::WM_USER_SWITCHUMD_UPDATED, 0, 0);
|
||||
break;
|
||||
|
||||
case SystemNotification::DEBUG_MODE_CHANGE:
|
||||
if (disasmWindow)
|
||||
PostDialogMessage(disasmWindow, WM_DEB_SETDEBUGLPARAM, 0, (LPARAM)Core_IsStepping());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user