Small changes

This commit is contained in:
momo5502
2025-06-01 12:48:59 +02:00
parent 909b2db20d
commit c605131a80
3 changed files with 14 additions and 5 deletions

View File

@@ -123,7 +123,7 @@ namespace
_Exit(1);
}
win_emu.emu().stop();
win_emu.stop();
}};
try

View File

@@ -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
}

View File

@@ -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;
}