summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/src/thread
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2018-01-05 17:35:27 -0500
committerFranklin Wei <git@fwei.tk>2018-01-05 18:04:46 -0500
commit7443b9fda5b30e615dbff538260faeb64947db51 (patch)
tree7e0510da590b34eccc0b4faf06607b7d04001a74 /apps/plugins/sdl/src/thread
parent5719756c123343b3f98ea3cfeda4182d38063bb1 (diff)
downloadrockbox-7443b9fda5b30e615dbff538260faeb64947db51.zip
rockbox-7443b9fda5b30e615dbff538260faeb64947db51.tar.gz
rockbox-7443b9fda5b30e615dbff538260faeb64947db51.tar.bz2
rockbox-7443b9fda5b30e615dbff538260faeb64947db51.tar.xz
duke3d: misc stuff (DON'T PUSH)
Mostly debugging output to the FPS line. Also changes tools/configure to always cross-compile a 32-bit simulator to support duke's horrendous pointer casting. Please don't push this. Change-Id: I3df6c633b5af017f33055dc4f9257738aaf66cfb
Diffstat (limited to 'apps/plugins/sdl/src/thread')
-rw-r--r--apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c b/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
index 214cbe4..155d7a4 100644
--- a/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
+++ b/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
@@ -40,6 +40,7 @@ static void rbsdl_runthread(void)
void *args = global_args;
global_args = NULL;
SDL_RunThread(args);
+ rb->thread_exit();
}
#define MAX_THREAD 4