summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/sdlsync_sdl.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
commit0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch)
tree234109de1123b13f217494af4b3f8efad346d5cc /src/osd/sdl/sdlsync_sdl.c
parent111157ca09a9ff60fe4a9ba49173c315e94314fa (diff)
Cleanups and version bumpmame0148
Diffstat (limited to 'src/osd/sdl/sdlsync_sdl.c')
-rw-r--r--src/osd/sdl/sdlsync_sdl.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/osd/sdl/sdlsync_sdl.c b/src/osd/sdl/sdlsync_sdl.c
index 3ee7cc41060..80bb4607c0a 100644
--- a/src/osd/sdl/sdlsync_sdl.c
+++ b/src/osd/sdl/sdlsync_sdl.c
@@ -21,7 +21,7 @@
#include "eminline.h"
-#define VERBOSE (0)
+#define VERBOSE (0)
#if VERBOSE
#define LOG( x ) do { printf x; printf("\n"); } while (0)
@@ -29,16 +29,16 @@
#define LOG( x )
#endif
struct hidden_mutex_t {
- SDL_mutex * id;
- volatile INT32 locked;
- volatile INT32 threadid;
+ SDL_mutex * id;
+ volatile INT32 locked;
+ volatile INT32 threadid;
};
struct osd_event {
- SDL_mutex * mutex;
- SDL_cond * cond;
- volatile INT32 autoreset;
- volatile INT32 signalled;
+ SDL_mutex * mutex;
+ SDL_cond * cond;
+ volatile INT32 autoreset;
+ volatile INT32 signalled;
};
//============================================================
@@ -46,14 +46,14 @@ struct osd_event {
//============================================================
struct osd_thread {
- SDL_Thread * thread;
+ SDL_Thread * thread;
osd_thread_callback callback;
void *param;
};
struct osd_scalable_lock
{
- SDL_mutex * mutex;
+ SDL_mutex * mutex;
};
//============================================================
@@ -350,4 +350,3 @@ void osd_thread_wait_free(osd_thread *thread)
SDL_WaitThread(thread->thread, &status);
free(thread);
}
-