From e9baf604f9763bf2a3a59581d2af582c0ce9b826 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 25 Jun 2007 20:58:15 +0000 Subject: Fix sim errors. Every extra byte feels guilt-free. ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13717 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/thread-sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uisimulator') 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) -- cgit v1.2.3