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
+5
-5
@@ -308,8 +308,8 @@ void Core_ProcessStepping() {
|
||||
static int lastSteppingCounter = -1;
|
||||
if (lastSteppingCounter != steppingCounter) {
|
||||
CBreakPoints::ClearTemporaryBreakPoints();
|
||||
host->UpdateDisassembly();
|
||||
host->UpdateMemView();
|
||||
System_Notify(SystemNotification::DISASSEMBLY);
|
||||
System_Notify(SystemNotification::MEM_VIEW);
|
||||
lastSteppingCounter = steppingCounter;
|
||||
}
|
||||
|
||||
@@ -320,15 +320,15 @@ void Core_ProcessStepping() {
|
||||
if (doStep && coreState == CORE_STEPPING) {
|
||||
Core_SingleStep();
|
||||
// Update disasm dialog.
|
||||
host->UpdateDisassembly();
|
||||
host->UpdateMemView();
|
||||
System_Notify(SystemNotification::DISASSEMBLY);
|
||||
System_Notify(SystemNotification::MEM_VIEW);
|
||||
}
|
||||
}
|
||||
|
||||
// Many platforms, like Android, do not call this function but handle things on their own.
|
||||
// Instead they simply call NativeRender and NativeUpdate directly.
|
||||
bool Core_Run(GraphicsContext *ctx) {
|
||||
host->UpdateDisassembly();
|
||||
System_Notify(SystemNotification::DISASSEMBLY);
|
||||
while (true) {
|
||||
if (GetUIState() != UISTATE_INGAME) {
|
||||
Core_StateProcessed();
|
||||
|
||||
Reference in new issue
Block a user