mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-03 04:05:49 +01:00
Fix register restore typo in sub_6CAB00
@@ -65,8 +65,8 @@ There are three functions in C you can use to replace a subroutine call.
|
||||
|
||||
... Code in the function..
|
||||
|
||||
pop edx
|
||||
pop eax ; Restore the registers to their values
|
||||
pop eax
|
||||
pop edx ; Restore the registers to their values
|
||||
retn
|
||||
* **RCT2_CALLPROC_X**: Use this function if the subroutine starts using
|
||||
registers without loading any data first. For example:
|
||||
|
||||
Reference in New Issue
Block a user