mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Code edit to the previous commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user