mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
message_exit__mem_free_hook: save eax register
- Otherwise ReleaseXP build messes it up in MessageExitHook
This commit is contained in:
@@ -224,9 +224,11 @@ static void __declspec(naked) message_search__message_find_hook() {
|
||||
|
||||
static void __declspec(naked) message_exit__mem_free_hook() {
|
||||
__asm {
|
||||
mov ecx, ebx; // message list
|
||||
push eax;
|
||||
mov ecx, ebx; // message list
|
||||
call MessageExitHook;
|
||||
jmp fo::funcoffs::mem_free_;
|
||||
pop eax;
|
||||
jmp fo::funcoffs::mem_free_;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user