mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
Fixed linking of chdman (nw)
This commit is contained in:
parent
a9dd18d348
commit
631fb2cfe2
@ -267,9 +267,10 @@ osd_work_queue *osd_work_queue_alloc(int flags)
|
||||
allocthreadnum = queue->threads + 1;
|
||||
else
|
||||
allocthreadnum = queue->threads;
|
||||
|
||||
#if 0
|
||||
// tools like chdman are not linked with osd_printf_*
|
||||
osd_printf_verbose("osdprocs: %d effecprocs: %d threads: %d allocthreads: %d osdthreads: %d maxthreads: %d queuethreads: %d\n", osd_num_processors, numprocs, threadnum, allocthreadnum, osdthreadnum, WORK_MAX_THREADS, queue->threads);
|
||||
|
||||
#endif
|
||||
queue->thread = (work_thread_info *)osd_malloc_array(allocthreadnum * sizeof(queue->thread[0]));
|
||||
if (queue->thread == NULL)
|
||||
goto error;
|
||||
|
Loading…
Reference in New Issue
Block a user