Code edit to the previous commit

This commit is contained in:
NovaRain
2025-04-05 22:12:30 +08:00
parent 503e25a92a
commit 8323cbd092
+7 -2
View File
@@ -38,10 +38,15 @@ static char versionString[65] = {};
static int* scriptDialog = nullptr;
static __declspec(naked) void GNW95_process_message_hack() {
static const DWORD GNW95_process_message_Ret = 0x4C9DE6;
__asm {
call WinProc::WaitMessageWindow;
jmp GNW95_process_message_Ret;
add esp, 0x20;
pop edi;
pop esi;
pop edx;
pop ecx;
pop ebx;
retn;
}
}