Skip to content
Snippets Groups Projects
Commit 7e2bd395 authored by Charles Lombardo's avatar Charles Lombardo
Browse files

android: Return the correct status code on emulation stop

parent 19053ab6
No related branches found
No related tags found
No related merge requests found
...@@ -327,12 +327,13 @@ public: ...@@ -327,12 +327,13 @@ public:
m_system.ShutdownMainProcess(); m_system.ShutdownMainProcess();
m_detached_tasks.WaitForAllTasks(); m_detached_tasks.WaitForAllTasks();
m_load_result = Core::SystemResultStatus::ErrorNotInitialized; m_load_result = Core::SystemResultStatus::ErrorNotInitialized;
m_window.reset();
OnEmulationStopped(Core::SystemResultStatus::Success);
return;
} }
// Tear down the render window. // Tear down the render window.
m_window.reset(); m_window.reset();
OnEmulationStopped(m_load_result);
} }
void PauseEmulation() { void PauseEmulation() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment