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
+4
-5
@@ -355,8 +355,7 @@ void EmuScreen::bootGame(const Path &filename) {
|
||||
void EmuScreen::bootComplete() {
|
||||
UpdateUIState(UISTATE_INGAME);
|
||||
System_Notify(SystemNotification::BOOT_DONE);
|
||||
|
||||
host->UpdateDisassembly();
|
||||
System_Notify(SystemNotification::DISASSEMBLY);
|
||||
|
||||
NOTICE_LOG(BOOT, "Loading %s...", PSP_CoreParameter().fileToStart.c_str());
|
||||
autoLoad();
|
||||
@@ -448,7 +447,7 @@ static void AfterSaveStateAction(SaveState::Status status, const std::string &me
|
||||
static void AfterStateBoot(SaveState::Status status, const std::string &message, void *ignored) {
|
||||
AfterSaveStateAction(status, message, ignored);
|
||||
Core_EnableStepping(false);
|
||||
host->UpdateDisassembly();
|
||||
System_Notify(SystemNotification::DISASSEMBLY);
|
||||
}
|
||||
|
||||
void EmuScreen::sendMessage(const char *message, const char *value) {
|
||||
@@ -461,12 +460,12 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
|
||||
bootPending_ = false;
|
||||
stopRender_ = true;
|
||||
invalid_ = true;
|
||||
host->UpdateDisassembly();
|
||||
System_Notify(SystemNotification::DISASSEMBLY);
|
||||
} else if (!strcmp(message, "reset")) {
|
||||
PSP_Shutdown();
|
||||
bootPending_ = true;
|
||||
invalid_ = true;
|
||||
host->UpdateDisassembly();
|
||||
System_Notify(SystemNotification::DISASSEMBLY);
|
||||
|
||||
std::string resetError;
|
||||
if (!PSP_InitStart(PSP_CoreParameter(), &resetError)) {
|
||||
|
||||
Reference in new issue
Block a user