mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 11:43:56 +00:00
Fix failing checks
This commit is contained in:
@@ -453,6 +453,7 @@ union TEB_SAME_TEB_FLAGS_UNION
|
||||
|
||||
#ifndef OS_WINDOWS
|
||||
using LCID = DWORD;
|
||||
using LANGID = WORD;
|
||||
#endif
|
||||
|
||||
typedef struct _TEB64
|
||||
|
||||
@@ -187,7 +187,7 @@ namespace syscalls
|
||||
emulator_object<UNICODE_STRING<EmulatorTraits<Emu64>>> server_port_name,
|
||||
emulator_object<SECURITY_QUALITY_OF_SERVICE> security_qos,
|
||||
emulator_object<PORT_VIEW64> client_shared_memory,
|
||||
emulator_object<SID> /*server_sid*/,
|
||||
emulator_pointer /*server_sid*/,
|
||||
emulator_object<REMOTE_PORT_VIEW64> server_shared_memory,
|
||||
emulator_object<ULONG> maximum_message_length, emulator_pointer connection_info,
|
||||
emulator_object<ULONG> connection_info_length);
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace syscalls
|
||||
{
|
||||
c.win_emu.log.print(color::dark_gray, "--> Code Page: %d\n", section_data);
|
||||
|
||||
const auto file_path = std::format(R"(C:\Windows\System32\C_{}.NLS)", section_data);
|
||||
const auto file_path = R"(C:\Windows\System32\C_)" + std::to_string(section_data) + ".NLS";
|
||||
const auto locale_file = utils::io::read_file(c.win_emu.file_sys.translate(file_path));
|
||||
if (locale_file.empty())
|
||||
{
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace syscalls
|
||||
emulator_object<UNICODE_STRING<EmulatorTraits<Emu64>>> server_port_name,
|
||||
emulator_object<SECURITY_QUALITY_OF_SERVICE> security_qos,
|
||||
emulator_object<PORT_VIEW64> client_shared_memory,
|
||||
emulator_object<SID> /*server_sid*/,
|
||||
emulator_pointer /*server_sid*/,
|
||||
emulator_object<REMOTE_PORT_VIEW64> server_shared_memory,
|
||||
emulator_object<ULONG> maximum_message_length, emulator_pointer connection_info,
|
||||
emulator_object<ULONG> connection_info_length)
|
||||
|
||||
@@ -124,7 +124,8 @@ namespace syscalls
|
||||
case SystemTimeZoneInformation:
|
||||
case SystemCurrentTimeZoneInformation:
|
||||
return handle_query<SYSTEM_TIMEZONE_INFORMATION>(
|
||||
c.emu, system_information, system_information_length, return_length, [&](SYSTEM_TIMEZONE_INFORMATION& tzi) {
|
||||
c.emu, system_information, system_information_length, return_length,
|
||||
[&](SYSTEM_TIMEZONE_INFORMATION& tzi) {
|
||||
memset(&tzi, 0, sizeof(tzi));
|
||||
|
||||
tzi.Bias = -60;
|
||||
|
||||
Reference in New Issue
Block a user