Merge pull request #19 from mebibytedraco/fxf-disk-stack-fix

Remove extra stack items in launch_fxf_from_disk error recovery
main
Ry 2023-07-14 16:14:18 -07:00 committed by GitHub
commit 0bd42e113a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -131,6 +131,12 @@ launch_fxf_from_disk_allocate_error:
mov r5, 336
call new_messagebox
launch_fxf_from_disk_file_error:
pop r6 ; remove extra copies of arguments from stack
pop r5
pop r4
pop r3
pop r2
pop r6
pop r5
pop r4