Move three notifications out of Host

This commit is contained in:
Henrik Rydgård committed 2023-03-21 13:37:19 +01:00
1 parent 06fcc9ccd7
commit dda8635c89
21 files changed
+51 -95

No files matched your search

+1 -2
View File
@@ -124,8 +124,7 @@ void UpdateUIState(GlobalUIState newState) {
// Never leave the EXIT state.
if (globalUIState != newState && globalUIState != UISTATE_EXIT) {
globalUIState = newState;
if (host)
host->UpdateDisassembly();
System_Notify(SystemNotification::DISASSEMBLY);
const char *state = nullptr;
switch (globalUIState) {
case UISTATE_EXIT: state = "exit"; break;