summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl/thread-sdl.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-06-25 20:58:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-06-25 20:58:15 +0000
commite9baf604f9763bf2a3a59581d2af582c0ce9b826 (patch)
tree15b901224d0c1e1d7160dd22a4b5b5f76e018074 /uisimulator/sdl/thread-sdl.c
parent74aabc8381e9faa221b87b7d2280238d30f2e9c5 (diff)
downloadrockbox-e9baf604f9763bf2a3a59581d2af582c0ce9b826.tar.gz
rockbox-e9baf604f9763bf2a3a59581d2af582c0ce9b826.tar.bz2
rockbox-e9baf604f9763bf2a3a59581d2af582c0ce9b826.zip
Fix sim errors. Every extra byte feels guilt-free. ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13717 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/thread-sdl.c')
-rw-r--r--uisimulator/sdl/thread-sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/thread-sdl.c b/uisimulator/sdl/thread-sdl.c
index 830e89e45a..90a4ecf4a7 100644
--- a/uisimulator/sdl/thread-sdl.c
+++ b/uisimulator/sdl/thread-sdl.c
@@ -28,7 +28,7 @@
SDL_Thread *threads[256];
int threadCount = 0;
-long current_tick = 0;
+volatile long current_tick = 0;
SDL_mutex *m;
void yield(void)