mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-28 07:21:02 +00:00
More win 10 fixes (#67)
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -129,7 +129,7 @@ jobs:
|
||||
# TODO: Move different windows platforms into registry dump matrix
|
||||
- Windows 2025
|
||||
- Windows 2022
|
||||
#- Windows 2019
|
||||
- Windows 2019
|
||||
- Linux GCC
|
||||
- Linux Clang
|
||||
- macOS
|
||||
@@ -147,9 +147,9 @@ jobs:
|
||||
- platform: Windows 2022
|
||||
build-platform: Windows
|
||||
runner: windows-2022
|
||||
#- platform: Windows 2019
|
||||
# build-platform: Windows
|
||||
# runner: windows-2019
|
||||
- platform: Windows 2019
|
||||
build-platform: Windows
|
||||
runner: windows-2019
|
||||
- platform: Linux GCC
|
||||
build-platform: Linux GCC
|
||||
runner: ubuntu-24.04
|
||||
|
||||
@@ -3391,6 +3391,12 @@ namespace
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS handle_NtYieldExecution(const syscall_context& c)
|
||||
{
|
||||
c.win_emu.yield_thread();
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
void syscall_dispatcher::add_handlers(std::map<std::string, syscall_handler>& handler_mapping)
|
||||
@@ -3503,6 +3509,7 @@ void syscall_dispatcher::add_handlers(std::map<std::string, syscall_handler>& ha
|
||||
add_handler(NtQueryDirectoryFileEx);
|
||||
add_handler(NtUserSystemParametersInfo);
|
||||
add_handler(NtGetContextThread);
|
||||
add_handler(NtYieldExecution);
|
||||
|
||||
#undef add_handler
|
||||
}
|
||||
|
||||
@@ -265,8 +265,8 @@ namespace
|
||||
peb.OSMajorVersion = 0x0000000a;
|
||||
peb.OSBuildNumber = 0x00006c51;
|
||||
|
||||
peb.AnsiCodePageData = allocator.reserve<CPTABLEINFO>().value();
|
||||
peb.OemCodePageData = allocator.reserve<CPTABLEINFO>().value();
|
||||
// peb.AnsiCodePageData = allocator.reserve<CPTABLEINFO>().value();
|
||||
// peb.OemCodePageData = allocator.reserve<CPTABLEINFO>().value();
|
||||
peb.UnicodeCaseTableData = allocator.reserve<NLSTABLEINFO>().value();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user