mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
Fix RCT2_CALLFUNC
This commit is contained in:
parent
781d0fdf26
commit
d9f0225ee7
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
#define RCT2_ADDRESS(address, type) ((type*)(address))
|
||||
#define RCT2_GLOBAL(address, type) (*((type*)(address)))
|
||||
#define RCT2_CALLPROC(address) (((void(*)())(address))())
|
||||
#define RCT2_CALLFUNC(address, returnType) ((((returnType)(*)())(address))())
|
||||
#define RCT2_CALLFUNC(address, returnType) (((returnType(*)())(address))())
|
||||
|
||||
#define RCT2_CALLFUNC_1(address, returnType, a1, v1) (((returnType(*)(a1))(address))(v1))
|
||||
#define RCT2_CALLFUNC_2(address, returnType, a1, a2, v1, v2) (((returnType(*)(a1, a2))(address))(v1, v2))
|
||||
|
|
Loading…
Reference in a new issue