diff options
| author | EmptyChaos <EmptyChaos@users.noreply.github.com> | 2016-05-12 01:18:30 +0000 |
|---|---|---|
| committer | EmptyChaos <EmptyChaos@users.noreply.github.com> | 2016-05-13 09:23:44 +1000 |
| commit | c1944f623b5918ab45152795dea9e49f57878138 (patch) | |
| tree | b11e913d08eb36eabdeef57f45b94bedc2e2da40 /Source/Core/Common | |
| parent | e8dfc8e654f7a8a92b126bdcff9e4b86b7463ba9 (diff) | |
Core/Movie: Add ability to run code in Host context
EndPlayInput runs on the CPU thread so it can't directly call
UpdateWantDeterminism. PlayController also tries to ChangeDisc
from the CPU Thread which is also invalid. It now just pauses
execution and posts a request to the Host to fix it instead.
The Core itself also did dodgy things like PauseAndLock-ing
from the CPU Thread and SetState from EmuThread which have been
removed.
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Common/Common.h b/Source/Core/Common/Common.h index 36a1bc13bf..7f8e6ce639 100644 --- a/Source/Core/Common/Common.h +++ b/Source/Core/Common/Common.h @@ -83,6 +83,7 @@ enum HOST_COMM WM_USER_STOP = 10, WM_USER_CREATE, WM_USER_SETCURSOR, + WM_USER_JOB_DISPATCH, }; // Used for notification on emulation state |
