Skip to content

Commit

Permalink
Fixed some wrapped libXRandr functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Sep 28, 2020
1 parent 1888d90 commit 0eb575b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/wrapped/generated/functions_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
#() uFEu
#() uFEp
#() uFiu
#() uFip
#() uFui
#() uFuu
#() uFup
Expand Down
2 changes: 0 additions & 2 deletions src/wrapped/generated/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ typedef uint8_t (*CFpp_t)(void*, void*);
typedef uint32_t (*uFEu_t)(x86emu_t*, uint32_t);
typedef uint32_t (*uFEp_t)(x86emu_t*, void*);
typedef uint32_t (*uFiu_t)(int32_t, uint32_t);
typedef uint32_t (*uFip_t)(int32_t, void*);
typedef uint32_t (*uFui_t)(uint32_t, int32_t);
typedef uint32_t (*uFuu_t)(uint32_t, uint32_t);
typedef uint32_t (*uFup_t)(uint32_t, void*);
Expand Down Expand Up @@ -1808,7 +1807,6 @@ void CFpp(x86emu_t *emu, uintptr_t fcn) { CFpp_t fn = (CFpp_t)fcn; R_EAX=(unsign
void uFEu(x86emu_t *emu, uintptr_t fcn) { uFEu_t fn = (uFEu_t)fcn; R_EAX=(uint32_t)fn(emu, *(uint32_t*)(R_ESP + 4)); }
void uFEp(x86emu_t *emu, uintptr_t fcn) { uFEp_t fn = (uFEp_t)fcn; R_EAX=(uint32_t)fn(emu, *(void**)(R_ESP + 4)); }
void uFiu(x86emu_t *emu, uintptr_t fcn) { uFiu_t fn = (uFiu_t)fcn; R_EAX=(uint32_t)fn(*(int32_t*)(R_ESP + 4), *(uint32_t*)(R_ESP + 8)); }
void uFip(x86emu_t *emu, uintptr_t fcn) { uFip_t fn = (uFip_t)fcn; R_EAX=(uint32_t)fn(*(int32_t*)(R_ESP + 4), *(void**)(R_ESP + 8)); }
void uFui(x86emu_t *emu, uintptr_t fcn) { uFui_t fn = (uFui_t)fcn; R_EAX=(uint32_t)fn(*(uint32_t*)(R_ESP + 4), *(int32_t*)(R_ESP + 8)); }
void uFuu(x86emu_t *emu, uintptr_t fcn) { uFuu_t fn = (uFuu_t)fcn; R_EAX=(uint32_t)fn(*(uint32_t*)(R_ESP + 4), *(uint32_t*)(R_ESP + 8)); }
void uFup(x86emu_t *emu, uintptr_t fcn) { uFup_t fn = (uFup_t)fcn; R_EAX=(uint32_t)fn(*(uint32_t*)(R_ESP + 4), *(void**)(R_ESP + 8)); }
Expand Down
1 change: 0 additions & 1 deletion src/wrapped/generated/wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ void CFpp(x86emu_t *emu, uintptr_t fnc);
void uFEu(x86emu_t *emu, uintptr_t fnc);
void uFEp(x86emu_t *emu, uintptr_t fnc);
void uFiu(x86emu_t *emu, uintptr_t fnc);
void uFip(x86emu_t *emu, uintptr_t fnc);
void uFui(x86emu_t *emu, uintptr_t fnc);
void uFuu(x86emu_t *emu, uintptr_t fnc);
void uFup(x86emu_t *emu, uintptr_t fnc);
Expand Down
12 changes: 6 additions & 6 deletions src/wrapped/wrappedlibxrandr_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ GO(XRRQueryExtension, iFppp)
//GO(XRRAllocModeInfo
//GO(XRRGetProviderProperty
//GO(XRRListProviderProperties
GO(XRRRotations,uFip)
GO(XRRRotations,uFpip)
//GO(XRRSetCrtcTransform
GO(XRRGetCrtcGammaSize, iFpu)
GO(XRRConfigRotations,uFp)
GO(XRRConfigRotations,uFpp)
GO(XRRGetProviderInfo, pFppp)
//GO(XRRConfigureOutputProperty
//GO(XRRSetOutputPrimary
GO(XRRFreeOutputInfo, vFp)
GO(XRRUpdateConfiguration,iF)
GO(XRRUpdateConfiguration,iFp)
GO(XRRGetScreenResources, pFpp)
GO(XRRConfigSizes,pFpp)
//GO(XRRQueryProviderProperty
Expand All @@ -35,7 +35,7 @@ GO(XRRConfigCurrentRate,wFp)
//GO(XRRDestroyMode
GO(XRRSetCrtcConfig, iFppuuiiuupi)
GO(XRRConfigCurrentConfiguration,uFpp)
GO(XRRSizes,pFip)
GO(XRRSizes,pFpip)
//GO(XRRAddOutputMode
GO(XRRFreePanning, vFp)
GO(XRRFreeProviderResources, vFp)
Expand All @@ -53,15 +53,15 @@ GO(XRRConfigRates,pFpip)
GO(XRRQueryOutputProperty, pFpup)
GO(XRRGetOutputProperty, iFpupiiiipppppp)
GO(XRRFreeGamma, vFp)
GO(XRRRootToScreen,iFp)
GO(XRRRootToScreen,iFpp)
GO(XRRGetScreenInfo,pFpp)
GO(XRRFreeCrtcInfo, vFp)
GO(XRRGetProviderResources, pFpp)
//GO(XRRFreeModeInfo
//GO(XRRChangeOutputProperty
GO(XRRGetCrtcGamma, pFpu)
GO(XRRSetPanning, pFppu)
GO(XRRSelectInput,vFpi)
GO(XRRSelectInput,vFppi)
//GO(XRRGetCrtcTransform
GO(XRRTimes,uFpip)
//GO(XRRDeleteOutputMode
Expand Down

0 comments on commit 0eb575b

Please sign in to comment.