Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Fix ppcinline file
Browse files Browse the repository at this point in the history
  • Loading branch information
BeWorld2018 committed Oct 17, 2020
1 parent 3005780 commit d2ae81a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/morphos/sdk/ppcinline/sdl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4049,12 +4049,11 @@
(((int (*)(SDL_bool ))*(void**)(__base - 2620))(__t__p0));\
})

#define SDL_GetRelativeMouseMode(__p0) \
#define SDL_GetRelativeMouseMode() \
({ \
voiud __t__p0 = __p0;\
long __base = (long)(SDL2_BASE_NAME);\
__asm volatile("mr 12,%0": :"r"(__base):"r12");\
(((SDL_bool (*)(voiud ) SDL_bool SDL_GetRelativeMouseMode(void))*(void**)(__base - 2626))(__t__p0));\
(((SDL_bool (*)(void))*(void**)(__base - 2626))());\
})

#define SDL_CreateCursor(__p0, __p1, __p2, __p3, __p4, __p5) \
Expand Down

0 comments on commit d2ae81a

Please sign in to comment.