mirror of
https://github.com/holub/mame
synced 2025-10-07 17:27:06 +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 */
|
/* This is a simple file to encapsulate the OpenGL API headers */
|
||||||
|
|
||||||
//#include "SDL_config.h"
|
|
||||||
#include <SDL/SDL_config.h>
|
#include <SDL/SDL_config.h>
|
||||||
|
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
|
@ -32,12 +32,6 @@
|
|||||||
// CONSTANTS
|
// CONSTANTS
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
//============================================================
|
|
||||||
// MACROS
|
|
||||||
//============================================================
|
|
||||||
|
|
||||||
//#define IS_YUV_MODE(_m) ((_m) >= VIDEO_SCALE_MODE_YV12 && (_m) <= VIDEO_SCALE_MODE_YUY2X2)
|
|
||||||
|
|
||||||
//============================================================
|
//============================================================
|
||||||
// TYPES
|
// TYPES
|
||||||
//============================================================
|
//============================================================
|
||||||
|
@ -213,7 +213,7 @@ struct _kt_table {
|
|||||||
#define OSD_SDL_INDEX_KEYSYM(keysym) ((keysym)->scancode)
|
#define OSD_SDL_INDEX_KEYSYM(keysym) ((keysym)->scancode)
|
||||||
|
|
||||||
#define GET_WINDOW(ev) window_from_id((ev)->windowID)
|
#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) focus_window
|
||||||
//#define GET_FOCUS_WINDOW(ev) window_from_id((ev)->windowID)
|
//#define GET_FOCUS_WINDOW(ev) window_from_id((ev)->windowID)
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
// MAME headers
|
// MAME headers
|
||||||
//#include "osdepend.h"
|
|
||||||
#include "osdcore.h"
|
#include "osdcore.h"
|
||||||
|
|
||||||
#if defined(SDLMAME_WIN32) || defined(SDLMAME_OS2)
|
#if defined(SDLMAME_WIN32) || defined(SDLMAME_OS2)
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#include <mach/mach_time.h>
|
#include <mach/mach_time.h>
|
||||||
|
|
||||||
// MAME headers
|
// MAME headers
|
||||||
//#include "osdepend.h"
|
|
||||||
#include "osdcore.h"
|
#include "osdcore.h"
|
||||||
|
|
||||||
//============================================================
|
//============================================================
|
||||||
|
@ -9,9 +9,6 @@
|
|||||||
//
|
//
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
// standard sdl header
|
|
||||||
//#include <SDL/SDL.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -298,7 +298,7 @@ static int worker_thread_entry(void *param)
|
|||||||
{
|
{
|
||||||
osd_thread *thread = (osd_thread *) param;
|
osd_thread *thread = (osd_thread *) param;
|
||||||
void *res;
|
void *res;
|
||||||
//#ifdef PTR64
|
|
||||||
res = thread->callback(thread->param);
|
res = thread->callback(thread->param);
|
||||||
#ifdef PTR64
|
#ifdef PTR64
|
||||||
return (int) (INT64) res;
|
return (int) (INT64) res;
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
// MAME headers
|
// MAME headers
|
||||||
#include "osdcore.h"
|
#include "osdcore.h"
|
||||||
|
|
||||||
//#include "osinline.h"
|
|
||||||
#include "sdlsync.h"
|
#include "sdlsync.h"
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user