mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-20 23:54:48 +00:00
Notify of shutdown *after* setting coreState.
This commit is contained in:
parent
4ae41d4206
commit
10e446d225
@ -76,8 +76,8 @@ void Core_Halt(const char *msg)
|
||||
|
||||
void Core_Stop()
|
||||
{
|
||||
Core_NotifyShutdown();
|
||||
Core_UpdateState(CORE_POWERDOWN);
|
||||
Core_NotifyShutdown();
|
||||
m_hStepEvent.notify_one();
|
||||
}
|
||||
|
||||
|
@ -430,6 +430,7 @@ void __IoManagerThread() {
|
||||
|
||||
void __IoWakeManager() {
|
||||
ioManager.FinishEventLoop();
|
||||
ioManager.SyncThread();
|
||||
}
|
||||
|
||||
void __IoInit() {
|
||||
|
@ -354,7 +354,7 @@ bool WindowsHost::GPUDebuggingActive() {
|
||||
|
||||
static void PauseWithMessage(UINT msg, WPARAM wParam = NULL, LPARAM lParam = NULL) {
|
||||
lock_guard guard(pauseLock);
|
||||
if (Core_IsInactive()) {
|
||||
if (coreState != CORE_RUNNING && coreState != CORE_NEXTFRAME) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user