diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-03-17 11:50:26 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-03-17 11:50:26 +0100 |
| commit | d8328b6f6e1e60f32b218676eb1dbfda09683585 (patch) | |
| tree | d79b1f0526a717949ded81c70529245338816fb3 /src/wrapped/generated | |
| parent | 9e91f6f8d9cac2cd78b715c9847cf4644fbf3736 (diff) | |
| download | box64-d8328b6f6e1e60f32b218676eb1dbfda09683585.tar.gz box64-d8328b6f6e1e60f32b218676eb1dbfda09683585.zip | |
Added some wrapped libfreetype symbols (for #581)
Diffstat (limited to 'src/wrapped/generated')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 3 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 3f0c46fe..213232a0 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -420,6 +420,7 @@ #() iFpIi #() iFpII #() iFpCp +#() iFpWp #() iFpui #() iFpuu #() iFpuU diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index fe1526e3..3b9c77c3 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -454,6 +454,7 @@ typedef int64_t (*iFpip_t)(void*, int64_t, void*); typedef int64_t (*iFpIi_t)(void*, int64_t, int64_t); typedef int64_t (*iFpII_t)(void*, int64_t, int64_t); typedef int64_t (*iFpCp_t)(void*, uint8_t, void*); +typedef int64_t (*iFpWp_t)(void*, uint16_t, void*); typedef int64_t (*iFpui_t)(void*, uint64_t, int64_t); typedef int64_t (*iFpuu_t)(void*, uint64_t, uint64_t); typedef int64_t (*iFpuU_t)(void*, uint64_t, uint64_t); @@ -2828,6 +2829,7 @@ void iFpip(x64emu_t *emu, uintptr_t fcn) { iFpip_t fn = (iFpip_t)fcn; R_RAX=(int void iFpIi(x64emu_t *emu, uintptr_t fcn) { iFpIi_t fn = (iFpIi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX); } void iFpII(x64emu_t *emu, uintptr_t fcn) { iFpII_t fn = (iFpII_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX); } void iFpCp(x64emu_t *emu, uintptr_t fcn) { iFpCp_t fn = (iFpCp_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (uint8_t)R_RSI, (void*)R_RDX); } +void iFpWp(x64emu_t *emu, uintptr_t fcn) { iFpWp_t fn = (iFpWp_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (uint16_t)R_RSI, (void*)R_RDX); } void iFpui(x64emu_t *emu, uintptr_t fcn) { iFpui_t fn = (iFpui_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (uint64_t)R_RSI, (int64_t)R_RDX); } void iFpuu(x64emu_t *emu, uintptr_t fcn) { iFpuu_t fn = (iFpuu_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX); } void iFpuU(x64emu_t *emu, uintptr_t fcn) { iFpuU_t fn = (iFpuU_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX); } @@ -5141,6 +5143,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &iFpIi) return 1; if (fun == &iFpII) return 1; if (fun == &iFpCp) return 1; + if (fun == &iFpWp) return 1; if (fun == &iFpui) return 1; if (fun == &iFpuu) return 1; if (fun == &iFpuU) return 1; diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index f0d487bf..6da13fcb 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -453,6 +453,7 @@ void iFpip(x64emu_t *emu, uintptr_t fnc); void iFpIi(x64emu_t *emu, uintptr_t fnc); void iFpII(x64emu_t *emu, uintptr_t fnc); void iFpCp(x64emu_t *emu, uintptr_t fnc); +void iFpWp(x64emu_t *emu, uintptr_t fnc); void iFpui(x64emu_t *emu, uintptr_t fnc); void iFpuu(x64emu_t *emu, uintptr_t fnc); void iFpuU(x64emu_t *emu, uintptr_t fnc); |