mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-20 20:23:57 +00:00
Set correct status
This commit is contained in:
@@ -6,6 +6,7 @@ using NTSTATUS = std::uint32_t;
|
||||
|
||||
#ifndef OS_WINDOWS
|
||||
#define STATUS_WAIT_0 ((NTSTATUS)0x00000000L)
|
||||
#define STATUS_USER_APC ((NTSTATUS)0x000000C0L)
|
||||
#define STATUS_TIMEOUT ((NTSTATUS)0x00000102L)
|
||||
#define STATUS_PENDING ((NTSTATUS)0x00000103L)
|
||||
|
||||
|
||||
@@ -162,6 +162,7 @@ namespace
|
||||
|
||||
if (can_dispatch_apcs)
|
||||
{
|
||||
thread.mark_as_ready(STATUS_USER_APC);
|
||||
dispatch_next_apc(win_emu, thread);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user