Fix bug where eax was trashed in pit_sleep_and_wait_for_keypress()

This commit is contained in:
mintsuki 2020-04-30 23:29:20 +02:00
parent 8db7cdcbd1
commit 96f8c65f01

View File

@ -177,7 +177,9 @@ int pit_sleep_and_quit_on_keypress(uint32_t ticks) {
"pop ebx\n\t"
// Exit
"push eax\n\t"
"call dehook_int_08\n\t"
"pop eax\n\t"
"ret\n\t"
);
(void)ticks;