diff options
author | 2013-01-11 07:32:46 +0000 | |
---|---|---|
committer | 2013-01-11 07:32:46 +0000 | |
commit | 0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch) | |
tree | 234109de1123b13f217494af4b3f8efad346d5cc /src/osd/sdl/sdlsync_win32.c | |
parent | 111157ca09a9ff60fe4a9ba49173c315e94314fa (diff) |
Cleanups and version bumpmame0148
Diffstat (limited to 'src/osd/sdl/sdlsync_win32.c')
-rw-r--r-- | src/osd/sdl/sdlsync_win32.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/osd/sdl/sdlsync_win32.c b/src/osd/sdl/sdlsync_win32.c index 91f8c6b97e5..7e006f16828 100644 --- a/src/osd/sdl/sdlsync_win32.c +++ b/src/osd/sdl/sdlsync_win32.c @@ -30,11 +30,11 @@ // DEBUGGING //============================================================ -#define USE_SCALABLE_LOCKS (0) +#define USE_SCALABLE_LOCKS (0) struct osd_event { - void * ptr; + void * ptr; }; struct osd_thread { @@ -96,14 +96,14 @@ int osd_event_wait(osd_event *event, osd_ticks_t timeout) struct osd_scalable_lock { #if USE_SCALABLE_LOCKS - struct - { - volatile INT32 haslock; // do we have the lock? - INT32 filler[64/4-1]; // assumes a 64-byte cache line - } slot[WORK_MAX_THREADS]; // one slot per thread - volatile INT32 nextindex; // index of next slot to use + struct + { + volatile INT32 haslock; // do we have the lock? + INT32 filler[64/4-1]; // assumes a 64-byte cache line + } slot[WORK_MAX_THREADS]; // one slot per thread + volatile INT32 nextindex; // index of next slot to use #else - CRITICAL_SECTION section; + CRITICAL_SECTION section; #endif }; |