mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-26 23:11:01 +00:00
Small changes
This commit is contained in:
@@ -123,7 +123,7 @@ namespace
|
||||
_Exit(1);
|
||||
}
|
||||
|
||||
win_emu.emu().stop();
|
||||
win_emu.stop();
|
||||
}};
|
||||
|
||||
try
|
||||
|
||||
@@ -758,6 +758,11 @@ namespace syscalls
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
NTSTATUS handle_NtCreateTimer2()
|
||||
{
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
NTSTATUS handle_NtUserMapVirtualKeyEx()
|
||||
{
|
||||
return 0;
|
||||
@@ -1101,6 +1106,7 @@ void syscall_dispatcher::add_handlers(std::map<std::string, syscall_handler>& ha
|
||||
add_handler(NtQueryInformationByName);
|
||||
add_handler(NtUserSetCursor);
|
||||
add_handler(NtOpenMutant);
|
||||
add_handler(NtCreateTimer2);
|
||||
|
||||
#undef add_handler
|
||||
}
|
||||
|
||||
@@ -265,10 +265,13 @@ namespace syscalls
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
if (info_class == ProcessSchedulerSharedData || info_class == ProcessConsoleHostProcess ||
|
||||
info_class == ProcessFaultInformation || info_class == ProcessDefaultHardErrorMode ||
|
||||
info_class == ProcessRaiseUMExceptionOnInvalidHandleClose ||
|
||||
info_class == ProcessDynamicFunctionTableInformation)
|
||||
if (info_class == ProcessSchedulerSharedData //
|
||||
|| info_class == ProcessConsoleHostProcess //
|
||||
|| info_class == ProcessFaultInformation //
|
||||
|| info_class == ProcessDefaultHardErrorMode //
|
||||
|| info_class == ProcessRaiseUMExceptionOnInvalidHandleClose //
|
||||
|| info_class == ProcessDynamicFunctionTableInformation //
|
||||
|| info_class == ProcessPriorityBoost)
|
||||
{
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user