diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-04-08 08:36:31 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-04-08 08:36:31 +0200 |
| commit | 728a656df48288e97890d9220c5935eea3c00c91 (patch) | |
| tree | 5c4ce0f152478111ed89715e763b504d0ba8f1cc /src | |
| parent | 4933a70261bafcc8e6285c0a33a16fdfe7f26d0d (diff) | |
| download | box64-728a656df48288e97890d9220c5935eea3c00c91.tar.gz box64-728a656df48288e97890d9220c5935eea3c00c91.zip | |
Added a few wrapped functions to libxcbxfixes (for #675)
Diffstat (limited to 'src')
| -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 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlibxcbxfixes_private.h | 12 |
4 files changed, 11 insertions, 6 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index c227f93a..e315fa6f 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -1018,6 +1018,7 @@ #() pFppip #() pFppCp #() pFppWW +#() pFppWp #() pFppuW #() pFppuu #() pFppuL diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 83387b82..df221478 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -1054,6 +1054,7 @@ typedef void* (*pFppiL_t)(void*, void*, int32_t, uintptr_t); typedef void* (*pFppip_t)(void*, void*, int32_t, void*); typedef void* (*pFppCp_t)(void*, void*, uint8_t, void*); typedef void* (*pFppWW_t)(void*, void*, uint16_t, uint16_t); +typedef void* (*pFppWp_t)(void*, void*, uint16_t, void*); typedef void* (*pFppuW_t)(void*, void*, uint32_t, uint16_t); typedef void* (*pFppuu_t)(void*, void*, uint32_t, uint32_t); typedef void* (*pFppuL_t)(void*, void*, uint32_t, uintptr_t); @@ -3450,6 +3451,7 @@ void pFppiL(x64emu_t *emu, uintptr_t fcn) { pFppiL_t fn = (pFppiL_t)fcn; R_RAX=( void pFppip(x64emu_t *emu, uintptr_t fcn) { pFppip_t fn = (pFppip_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX); } void pFppCp(x64emu_t *emu, uintptr_t fcn) { pFppCp_t fn = (pFppCp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint8_t)R_RDX, (void*)R_RCX); } void pFppWW(x64emu_t *emu, uintptr_t fcn) { pFppWW_t fn = (pFppWW_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint16_t)R_RDX, (uint16_t)R_RCX); } +void pFppWp(x64emu_t *emu, uintptr_t fcn) { pFppWp_t fn = (pFppWp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint16_t)R_RDX, (void*)R_RCX); } void pFppuW(x64emu_t *emu, uintptr_t fcn) { pFppuW_t fn = (pFppuW_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint16_t)R_RCX); } void pFppuu(x64emu_t *emu, uintptr_t fcn) { pFppuu_t fn = (pFppuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX); } void pFppuL(x64emu_t *emu, uintptr_t fcn) { pFppuL_t fn = (pFppuL_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uintptr_t)R_RCX); } @@ -5682,6 +5684,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &pFppip) return 1; if (fun == &pFppCp) return 1; if (fun == &pFppWW) return 1; + if (fun == &pFppWp) return 1; if (fun == &pFppuW) return 1; if (fun == &pFppuu) return 1; if (fun == &pFppuL) return 1; diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index 0f211dc5..c6b81c9b 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -1055,6 +1055,7 @@ void pFppiL(x64emu_t *emu, uintptr_t fnc); void pFppip(x64emu_t *emu, uintptr_t fnc); void pFppCp(x64emu_t *emu, uintptr_t fnc); void pFppWW(x64emu_t *emu, uintptr_t fnc); +void pFppWp(x64emu_t *emu, uintptr_t fnc); void pFppuW(x64emu_t *emu, uintptr_t fnc); void pFppuu(x64emu_t *emu, uintptr_t fnc); void pFppuL(x64emu_t *emu, uintptr_t fnc); diff --git a/src/wrapped/wrappedlibxcbxfixes_private.h b/src/wrapped/wrappedlibxcbxfixes_private.h index f54d7624..e17787dd 100755 --- a/src/wrapped/wrappedlibxcbxfixes_private.h +++ b/src/wrapped/wrappedlibxcbxfixes_private.h @@ -91,12 +91,12 @@ GO(xcb_xfixes_query_version_unchecked, pFpuu) //GO(xcb_xfixes_select_cursor_input_checked, GO(xcb_xfixes_select_selection_input, pFppppu) GO(xcb_xfixes_select_selection_input_checked, pFppppu) -//GO(xcb_xfixes_set_cursor_name, -//GO(xcb_xfixes_set_cursor_name_checked, -//GO(xcb_xfixes_set_cursor_name_name, -//GO(xcb_xfixes_set_cursor_name_name_end, -//GO(xcb_xfixes_set_cursor_name_name_length, -//GO(xcb_xfixes_set_cursor_name_sizeof, +GO(xcb_xfixes_set_cursor_name, pFppWp) +GO(xcb_xfixes_set_cursor_name_checked, pFppWp) +GO(xcb_xfixes_set_cursor_name_name, pFp) +GO(xcb_xfixes_set_cursor_name_name_end, pFp) +GO(xcb_xfixes_set_cursor_name_name_length, iFp) +GO(xcb_xfixes_set_cursor_name_sizeof, iFp) //GO(xcb_xfixes_set_gc_clip_region, //GO(xcb_xfixes_set_gc_clip_region_checked, //GO(xcb_xfixes_set_picture_clip_region, |