vscode cpp debugger fix

This commit is contained in:
2025-10-15 14:40:57 +08:00
parent 4e07e943a4
commit b3e72933a7
3 changed files with 8 additions and 0 deletions

View File

@@ -43,8 +43,14 @@ const char *logPath = "A:\\Projects\\vsdbg-fix\\log.txt";
FILE *logFile;
void applyPatches(HMODULE module) {
}
void loadOrig() {
auto lib = LoadLibraryA(origDll);
applyPatches(lib);
for (int i = 0; i < sizeof(symlist) / sizeof(symlist[0]); i++) {
auto sym = GetProcAddress(lib, symlist[i]);
if (sym) {