More msvcrt (WIP quality) and various fixes

This commit is contained in:
2025-09-29 20:07:19 -06:00
parent f09e6a3986
commit 9dd65bc70a
9 changed files with 1466 additions and 108 deletions

View File

@@ -1,14 +1,17 @@
#include "common.h"
namespace mscoree {
void WIN_FUNC CorExitProcess(int exitCode) {
exit(exitCode);
}
void WIN_FUNC CorExitProcess(int exitCode) {
DEBUG_LOG("CorExitProcess(%i)\n", exitCode);
exit(exitCode);
}
} // namespace mscoree
static void *resolveByName(const char *name) {
if (strcmp(name, "CorExitProcess") == 0) return (void *) mscoree::CorExitProcess;
if (strcmp(name, "CorExitProcess") == 0)
return (void *)mscoree::CorExitProcess;
return nullptr;
}