-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also clean up build to remove never-to-be-seen-again ARMs.
- Loading branch information
1 parent
1aa3a00
commit 94ced31
Showing
5 changed files
with
40 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
sproxy | ||
usb_reset | ||
wait_next_second | ||
*.so | ||
# Build pipline dirs | ||
build | ||
package | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#include <dlfcn.h> | ||
#include <SDL2/SDL_events.h> | ||
#include <SDL2/SDL_video.h> | ||
|
||
void SDL_ShowWindow(SDL_Window * window) | ||
{ | ||
void *(*original_showwindow)(SDL_Window *); | ||
|
||
abort(); | ||
original_showwindow = dlsym(RTLD_NEXT, "SDL_ShowWindow"); | ||
(*original_showwindow)(window); | ||
SDL_ShowCursor(SDL_DISABLE); | ||
return; | ||
|
||
} | ||
void SDL_GL_SwapWindow(SDL_Window * window) | ||
{ | ||
void *(*original_swapwindow)(SDL_Window *); | ||
|
||
original_swapwindow = dlsym(RTLD_NEXT, "SDL_GL_SwapWindow"); | ||
(*original_swapwindow)(window); | ||
SDL_ShowCursor(SDL_DISABLE); | ||
return; | ||
|
||
} | ||
|