mirror of
https://github.com/holub/mame
synced 2025-05-18 11:39:29 +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
|
// MAME headers
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include "ui.h"
|
#include "ui.h"
|
||||||
|
#include "uiinput.h"
|
||||||
#include "emuopts.h"
|
#include "emuopts.h"
|
||||||
#include "osdepend.h"
|
#include "osdepend.h"
|
||||||
|
|
||||||
|
|
||||||
// MAMEOS headers
|
// MAMEOS headers
|
||||||
#include "window.h"
|
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "osdsdl.h"
|
#include "osdsdl.h"
|
||||||
|
#include "window.h"
|
||||||
#include "uiinput.h"
|
|
||||||
|
|
||||||
// winnt.h defines this
|
// winnt.h defines this
|
||||||
#ifdef DELETE
|
#ifdef DELETE
|
||||||
|
@ -222,11 +222,7 @@ int sdlwindow_init(running_machine *machine)
|
|||||||
if (multithreading_enabled)
|
if (multithreading_enabled)
|
||||||
{
|
{
|
||||||
// create a thread to run the windows from
|
// create a thread to run the windows from
|
||||||
#ifndef SDLMAME_OS2
|
|
||||||
work_queue = osd_work_queue_alloc(WORK_QUEUE_FLAG_IO);
|
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)
|
if (work_queue == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
osd_work_item_queue(work_queue, &sdlwindow_thread_id, NULL, WORK_ITEM_FLAG_AUTO_RELEASE);
|
osd_work_item_queue(work_queue, &sdlwindow_thread_id, NULL, WORK_ITEM_FLAG_AUTO_RELEASE);
|
||||||
|
Loading…
Reference in New Issue
Block a user