summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/src
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2018-01-05 17:19:19 -0500
committerFranklin Wei <git@fwei.tk>2018-01-05 18:05:10 -0500
commit896c828152f758f569426db1013a59d4854bc291 (patch)
treec2b9d4acdca7701e66594a90550eb1ff24f67d88 /apps/plugins/sdl/src
parent9f6ce046cb25524693a8fd1bd5c4bd22ac687750 (diff)
downloadrockbox-896c828152f758f569426db1013a59d4854bc291.tar.gz
rockbox-896c828152f758f569426db1013a59d4854bc291.zip
duke3d: unregister timer on exit
This was leading to a crash upon audio playback after running the game. Change-Id: I1e9961da443c21e3eff38bcf9877ffa75a922715
Diffstat (limited to 'apps/plugins/sdl/src')
-rw-r--r--apps/plugins/sdl/src/timer/rockbox/SDL_systimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/sdl/src/timer/rockbox/SDL_systimer.c b/apps/plugins/sdl/src/timer/rockbox/SDL_systimer.c
index 5769a87662..f4e886260c 100644
--- a/apps/plugins/sdl/src/timer/rockbox/SDL_systimer.c
+++ b/apps/plugins/sdl/src/timer/rockbox/SDL_systimer.c
@@ -114,4 +114,4 @@ void SDL_SYS_StopTimer(void)
114 return; 114 return;
115} 115}
116 116
117#endif /* SDL_TIMER_DUMMY || SDL_TIMERS_DISABLED */ 117#endif