diff options
author | Felix Arends <edx@rockbox.org> | 2002-04-28 08:37:15 +0000 |
---|---|---|
committer | Felix Arends <edx@rockbox.org> | 2002-04-28 08:37:15 +0000 |
commit | 9636bb58d740bd66f923efe4c0db733b966c29f2 (patch) | |
tree | c761d71ec4b2546854ad9a48d6ae87553666cf4f /uisimulator/app.c | |
parent | ac4d5ef7f04258f3a3d5c5e291eb11645b249197 (diff) |
win32 compatible versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@290 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/app.c')
-rw-r--r-- | uisimulator/app.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/uisimulator/app.c b/uisimulator/app.c index 9222172d22..a9456664c4 100644 --- a/uisimulator/app.c +++ b/uisimulator/app.c @@ -21,13 +21,17 @@ #include "types.h" #include "lcd.h" -#define HAVE_RECORDER_KEYPAD #include "button.h" +#include "kernel.h" #ifdef SIMULATOR #include <stdio.h> +#ifndef _WIN32 #include <unistd.h> #endif +#endif + +extern void tetris(void); #define LINE_HEIGHT 8 @@ -87,3 +91,12 @@ void app_main(void) lcd_update(); } } + + +#ifdef _WIN32 +// for win32 simulator compability +void main (void) +{ + app_main (); +} +#endif
\ No newline at end of file |