mirror of
https://github.com/ptitSeb/box64.git
synced 2025-03-02 03:16:04 +00:00
Added a few wrapped functions to libxcbxfixes (for #675)
This commit is contained in:
parent
4933a70261
commit
728a656df4
@ -1018,6 +1018,7 @@
|
||||
#() pFppip
|
||||
#() pFppCp
|
||||
#() pFppWW
|
||||
#() pFppWp
|
||||
#() pFppuW
|
||||
#() pFppuu
|
||||
#() pFppuL
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user