A few more kernel32 stubs for MSVC versions

This commit is contained in:
2025-10-01 15:20:55 -06:00
parent ccd79a256a
commit aee35ee0da
4 changed files with 620 additions and 89 deletions

View File

@@ -850,7 +850,7 @@ namespace msvcrt {
}
unsigned char* WIN_ENTRY _mbsinc(const unsigned char *str) {
DEBUG_LOG("_mbsinc(%s)\n", str);
DEBUG_LOG("_mbsinc(%p)\n", str);
if (!str) {
return nullptr;
}
@@ -864,7 +864,7 @@ namespace msvcrt {
}
unsigned char* WIN_ENTRY _mbsdec(const unsigned char *start, const unsigned char *current) {
DEBUG_LOG("_mbsdec(%s, %s)\n", start, current);
DEBUG_LOG("_mbsdec(%p, %p)\n", start, current);
if (!start || !current || current <= start) {
DEBUG_LOG("_mbsdec invalid args start=%p current=%p\n", start, current);
return nullptr;