diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-10-22 09:24:06 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-10-22 09:24:06 +0200 |
| commit | e7adc6b7f9ae7c6115c9d4b184dd2856ec699737 (patch) | |
| tree | 37b49c83c480c08f4c6651b1c2ca6463dd6186da /src/wrapped32/generated/wrapper32.c | |
| parent | fc7d204d4bca211f2462a0534e77f0929f121330 (diff) | |
| download | box64-e7adc6b7f9ae7c6115c9d4b184dd2856ec699737.tar.gz box64-e7adc6b7f9ae7c6115c9d4b184dd2856ec699737.zip | |
[BOX32] Added 1 more sdl2 wrapped function
Diffstat (limited to 'src/wrapped32/generated/wrapper32.c')
| -rw-r--r-- | src/wrapped32/generated/wrapper32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wrapped32/generated/wrapper32.c b/src/wrapped32/generated/wrapper32.c index 016b43e9..2c15e1a5 100644 --- a/src/wrapped32/generated/wrapper32.c +++ b/src/wrapped32/generated/wrapper32.c @@ -255,6 +255,7 @@ typedef int32_t (*iFpi_t)(void*, int32_t); typedef int32_t (*iFpI_t)(void*, int64_t); typedef int32_t (*iFpu_t)(void*, uint32_t); typedef int32_t (*iFpU_t)(void*, uint64_t); +typedef int32_t (*iFpf_t)(void*, float); typedef int32_t (*iFpd_t)(void*, double); typedef int32_t (*iFpl_t)(void*, intptr_t); typedef int32_t (*iFpL_t)(void*, uintptr_t); @@ -1766,6 +1767,7 @@ void iFpi_32(x64emu_t *emu, uintptr_t fcn) { iFpi_t fn = (iFpi_t)fcn; R_EAX = fn void iFpI_32(x64emu_t *emu, uintptr_t fcn) { iFpI_t fn = (iFpI_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int64_t, R_ESP + 8)); } void iFpu_32(x64emu_t *emu, uintptr_t fcn) { iFpu_t fn = (iFpu_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8)); } void iFpU_32(x64emu_t *emu, uintptr_t fcn) { iFpU_t fn = (iFpU_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint64_t, R_ESP + 8)); } +void iFpf_32(x64emu_t *emu, uintptr_t fcn) { iFpf_t fn = (iFpf_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(float, R_ESP + 8)); } void iFpd_32(x64emu_t *emu, uintptr_t fcn) { iFpd_t fn = (iFpd_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(double, R_ESP + 8)); } void iFpl_32(x64emu_t *emu, uintptr_t fcn) { iFpl_t fn = (iFpl_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_long(from_ptri(long_t, R_ESP + 8))); } void iFpL_32(x64emu_t *emu, uintptr_t fcn) { iFpL_t fn = (iFpL_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8))); } |