diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-27 21:36:04 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-27 21:36:04 +0000 |
commit | 6ce5279ff33d98480e438866900c9328d654d01b (patch) | |
tree | 2590305e9e73868447a5e0eed09cd39cfd32bd5c /firmware/target/hosted/sdl/system-sdl.c | |
parent | 8ea056db4b6c60e2e623cd0e79ccb64aea5bec51 (diff) | |
download | rockbox-6ce5279ff33d98480e438866900c9328d654d01b.tar.gz rockbox-6ce5279ff33d98480e438866900c9328d654d01b.zip |
Simulator: get rid of SDL_mutex* parameter to sim_do_exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26338 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted/sdl/system-sdl.c')
-rw-r--r-- | firmware/target/hosted/sdl/system-sdl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/target/hosted/sdl/system-sdl.c b/firmware/target/hosted/sdl/system-sdl.c index d56f1d7874..ff4fe6570e 100644 --- a/firmware/target/hosted/sdl/system-sdl.c +++ b/firmware/target/hosted/sdl/system-sdl.c | |||
@@ -144,14 +144,11 @@ static int sdl_event_thread(void * param) | |||
144 | return 0; | 144 | return 0; |
145 | } | 145 | } |
146 | 146 | ||
147 | void sim_do_exit(SDL_mutex *m) | 147 | void sim_do_exit(void) |
148 | { | 148 | { |
149 | /* wait for event thread to finish */ | 149 | /* wait for event thread to finish */ |
150 | SDL_WaitThread(evt_thread, NULL); | 150 | SDL_WaitThread(evt_thread, NULL); |
151 | 151 | ||
152 | /* cleanup */ | ||
153 | SDL_DestroyMutex(m); | ||
154 | |||
155 | SDL_Quit(); | 152 | SDL_Quit(); |
156 | exit(EXIT_SUCCESS); | 153 | exit(EXIT_SUCCESS); |
157 | while(1); | 154 | while(1); |