mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Move three notifications out of Host
This commit is contained in:
1 parent
06fcc9ccd7
commit
dda8635c89
21 files changed
+51
-95
No files matched your search
@@ -189,26 +189,6 @@ void WindowsHost::UpdateSound() {
|
||||
void WindowsHost::ShutdownSound() {
|
||||
}
|
||||
|
||||
void WindowsHost::UpdateUI() {
|
||||
PostMessage(mainWindow_, MainWindow::WM_USER_UPDATE_UI, 0, 0);
|
||||
|
||||
int peers = GetInstancePeerCount();
|
||||
if (PPSSPP_ID >= 1 && peers != lastNumInstances_) {
|
||||
lastNumInstances_ = peers;
|
||||
PostMessage(mainWindow_, MainWindow::WM_USER_WINDOW_TITLE_CHANGED, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void WindowsHost::UpdateMemView() {
|
||||
if (memoryWindow)
|
||||
PostDialogMessage(memoryWindow, WM_DEB_UPDATE);
|
||||
}
|
||||
|
||||
void WindowsHost::UpdateDisassembly() {
|
||||
if (disasmWindow)
|
||||
PostDialogMessage(disasmWindow, WM_DEB_UPDATE);
|
||||
}
|
||||
|
||||
void WindowsHost::SetDebugMode(bool mode) {
|
||||
if (disasmWindow)
|
||||
PostDialogMessage(disasmWindow, WM_DEB_SETDEBUGLPARAM, 0, (LPARAM)mode);
|
||||
|
||||
Reference in new issue
Block a user