From a855d6202536ff28e5aae4f22a0f31d8f5b325d0 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 21 Jan 2017 15:18:31 -0500 Subject: Port of Duke Nukem 3D This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9 --- apps/plugins/sdl/src/main/dummy/SDL_dummy_main.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 apps/plugins/sdl/src/main/dummy/SDL_dummy_main.c (limited to 'apps/plugins/sdl/src/main/dummy/SDL_dummy_main.c') diff --git a/apps/plugins/sdl/src/main/dummy/SDL_dummy_main.c b/apps/plugins/sdl/src/main/dummy/SDL_dummy_main.c new file mode 100644 index 0000000000..da47d06a87 --- /dev/null +++ b/apps/plugins/sdl/src/main/dummy/SDL_dummy_main.c @@ -0,0 +1,13 @@ + +/* Include the SDL main definition header */ +#include "SDL_main.h" + +#ifdef main +#undef main +int main(int argc, char *argv[]) +{ + return(SDL_main(argc, argv)); +} +#else +/* Nothing to do on this platform */ +#endif -- cgit v1.2.3