summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/sync/sync_sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/sync/sync_sdl.c')
-rw-r--r--src/osd/modules/sync/sync_sdl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/osd/modules/sync/sync_sdl.c b/src/osd/modules/sync/sync_sdl.c
index edfc3d105d4..cea1337c7f8 100644
--- a/src/osd/modules/sync/sync_sdl.c
+++ b/src/osd/modules/sync/sync_sdl.c
@@ -326,9 +326,9 @@ osd_thread *osd_thread_create(osd_thread_callback callback, void *cbparam)
thread->callback = callback;
thread->param = cbparam;
#ifdef SDLMAME_SDL2
- thread->thread = SDL_CreateThread(worker_thread_entry, "Thread", thread);
+ thread->thread = SDL_CreateThread(worker_thread_entry, "Thread", thread);
#else
- thread->thread = SDL_CreateThread(worker_thread_entry, thread);
+ thread->thread = SDL_CreateThread(worker_thread_entry, thread);
#endif
if ( thread->thread == NULL )
{
@@ -366,4 +366,3 @@ void osd_thread_wait_free(osd_thread *thread)
SDL_WaitThread(thread->thread, &status);
free(thread);
}
-