mirror of
https://github.com/holub/mame
synced 2025-05-17 11:15:06 +03:00
Minor cosmetic changes:
- order of includes - remove duplicate code
This commit is contained in:
parent
f702582726
commit
b347a5135a
@ -20,16 +20,15 @@
|
||||
// MAME headers
|
||||
#include "emu.h"
|
||||
#include "ui.h"
|
||||
#include "uiinput.h"
|
||||
#include "emuopts.h"
|
||||
#include "osdepend.h"
|
||||
|
||||
|
||||
// MAMEOS headers
|
||||
#include "window.h"
|
||||
#include "input.h"
|
||||
#include "osdsdl.h"
|
||||
|
||||
#include "uiinput.h"
|
||||
#include "window.h"
|
||||
|
||||
// winnt.h defines this
|
||||
#ifdef DELETE
|
||||
|
@ -222,11 +222,7 @@ int sdlwindow_init(running_machine *machine)
|
||||
if (multithreading_enabled)
|
||||
{
|
||||
// create a thread to run the windows from
|
||||
#ifndef SDLMAME_OS2
|
||||
work_queue = osd_work_queue_alloc(WORK_QUEUE_FLAG_IO);
|
||||
#else
|
||||
work_queue = osd_work_queue_alloc(WORK_QUEUE_FLAG_IO);
|
||||
#endif
|
||||
if (work_queue == NULL)
|
||||
return 1;
|
||||
osd_work_item_queue(work_queue, &sdlwindow_thread_id, NULL, WORK_ITEM_FLAG_AUTO_RELEASE);
|
||||
|
Loading…
Reference in New Issue
Block a user