Minor cosmetic changes:

- order of includes
- remove duplicate code
This commit is contained in:
Couriersud 2010-01-16 22:21:11 +00:00
parent f702582726
commit b347a5135a
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -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);