summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/src/timer
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 17:47:03 -0500
commitde835ee738eafaefab7da4281f47c1e52f1aed88 (patch)
treedef0e2a44afba24fe1aced6d1bdf3ff4a6f18445 /apps/plugins/sdl/src/timer
parente496889481ed5a3ffa0d705f17bb14b700062372 (diff)
downloadrockbox-de835ee738eafaefab7da4281f47c1e52f1aed88.zip
rockbox-de835ee738eafaefab7da4281f47c1e52f1aed88.tar.gz
rockbox-de835ee738eafaefab7da4281f47c1e52f1aed88.tar.bz2
rockbox-de835ee738eafaefab7da4281f47c1e52f1aed88.tar.xz
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/timer')
-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 5769a87..f4e8862 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)
return;
}
-#endif /* SDL_TIMER_DUMMY || SDL_TIMERS_DISABLED */
+#endif