notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
32x: a hack for dealing with pwm inaccuracy
[picodrive.git]
/
platform
/
common
/
plat_sdl.c
diff --git
a/platform/common/plat_sdl.c
b/platform/common/plat_sdl.c
index
28b412d
..
8ea266f
100644
(file)
--- a/
platform/common/plat_sdl.c
+++ b/
platform/common/plat_sdl.c
@@
-200,6
+200,12
@@
void plat_early_init(void)
{
}
{
}
+static void plat_sdl_quit(void)
+{
+ // for now..
+ exit(1);
+}
+
void plat_init(void)
{
int shadow_size;
void plat_init(void)
{
int shadow_size;
@@
-209,7
+215,9
@@
void plat_init(void)
if (ret != 0)
exit(1);
if (ret != 0)
exit(1);
- SDL_WM_SetCaption("PicoDrive" VERSION, NULL);
+ plat_sdl_quit_cb = plat_sdl_quit;
+
+ SDL_WM_SetCaption("PicoDrive " VERSION, NULL);
g_menuscreen_w = plat_sdl_screen->w;
g_menuscreen_h = plat_sdl_screen->h;
g_menuscreen_w = plat_sdl_screen->w;
g_menuscreen_h = plat_sdl_screen->h;