mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-17 19:13:55 +00:00
Fix VMP NtClose detection
This commit is contained in:
@@ -6,7 +6,14 @@ namespace syscalls
|
||||
{
|
||||
NTSTATUS handle_NtClose(const syscall_context& c, const handle h)
|
||||
{
|
||||
|
||||
const auto value = h.value;
|
||||
|
||||
if (h.h == 0xDEADC0DE)
|
||||
{
|
||||
return STATUS_INVALID_HANDLE;
|
||||
}
|
||||
|
||||
if (value.is_pseudo)
|
||||
{
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user