mirror of
https://github.com/holub/mame
synced 2025-10-07 09:25:34 +03:00
Cosmetic changes, no credit
This commit is contained in:
parent
64c285cf17
commit
2a0dcc679e
@ -22,7 +22,6 @@
|
||||
|
||||
/* This is a simple file to encapsulate the OpenGL API headers */
|
||||
|
||||
//#include "SDL_config.h"
|
||||
#include <SDL/SDL_config.h>
|
||||
|
||||
#ifdef __WIN32__
|
||||
|
@ -32,12 +32,6 @@
|
||||
// CONSTANTS
|
||||
//============================================================
|
||||
|
||||
//============================================================
|
||||
// MACROS
|
||||
//============================================================
|
||||
|
||||
//#define IS_YUV_MODE(_m) ((_m) >= VIDEO_SCALE_MODE_YV12 && (_m) <= VIDEO_SCALE_MODE_YUY2X2)
|
||||
|
||||
//============================================================
|
||||
// TYPES
|
||||
//============================================================
|
||||
|
@ -213,7 +213,7 @@ struct _kt_table {
|
||||
#define OSD_SDL_INDEX_KEYSYM(keysym) ((keysym)->scancode)
|
||||
|
||||
#define GET_WINDOW(ev) window_from_id((ev)->windowID)
|
||||
// FIXME: sdl does not properly report the window for certain ops.
|
||||
// FIXME: sdl does not properly report the window for certain OS.
|
||||
#define GET_FOCUS_WINDOW(ev) focus_window
|
||||
//#define GET_FOCUS_WINDOW(ev) window_from_id((ev)->windowID)
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <errno.h>
|
||||
|
||||
// MAME headers
|
||||
//#include "osdepend.h"
|
||||
#include "osdcore.h"
|
||||
|
||||
#if defined(SDLMAME_WIN32) || defined(SDLMAME_OS2)
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include <mach/mach_time.h>
|
||||
|
||||
// MAME headers
|
||||
//#include "osdepend.h"
|
||||
#include "osdcore.h"
|
||||
|
||||
//============================================================
|
||||
|
@ -9,9 +9,6 @@
|
||||
//
|
||||
//============================================================
|
||||
|
||||
// standard sdl header
|
||||
//#include <SDL/SDL.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
@ -298,7 +298,7 @@ static int worker_thread_entry(void *param)
|
||||
{
|
||||
osd_thread *thread = (osd_thread *) param;
|
||||
void *res;
|
||||
//#ifdef PTR64
|
||||
|
||||
res = thread->callback(thread->param);
|
||||
#ifdef PTR64
|
||||
return (int) (INT64) res;
|
||||
|
@ -26,7 +26,6 @@
|
||||
// MAME headers
|
||||
#include "osdcore.h"
|
||||
|
||||
//#include "osinline.h"
|
||||
#include "sdlsync.h"
|
||||
|
||||
#include <pthread.h>
|
||||
|
Loading…
Reference in New Issue
Block a user