mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
added missing syscall so that Windows 10 emulation works (#65)
For now, this is reports as not implemented but it seems to make the OS happy.
This commit is contained in:
@@ -3360,6 +3360,11 @@ namespace
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS handle_NtSetInformationVirtualMemory(const syscall_context&)
|
||||
{
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
NTSTATUS handle_NtGetContextThread(const syscall_context& c, handle thread_handle,
|
||||
const emulator_object<CONTEXT64> thread_context)
|
||||
{
|
||||
@@ -3403,6 +3408,7 @@ void syscall_dispatcher::add_handlers(std::map<std::string, syscall_handler>& ha
|
||||
add_handler(NtAllocateVirtualMemory);
|
||||
add_handler(NtQueryInformationProcess);
|
||||
add_handler(NtSetInformationProcess);
|
||||
add_handler(NtSetInformationVirtualMemory);
|
||||
add_handler(NtFreeVirtualMemory);
|
||||
add_handler(NtQueryVirtualMemory);
|
||||
add_handler(NtOpenThreadToken);
|
||||
|
||||
Reference in New Issue
Block a user