Cosmetic changes, no credit

This commit is contained in:
Couriersud 2010-01-15 23:28:30 +00:00
parent 64c285cf17
commit 2a0dcc679e
8 changed files with 2 additions and 15 deletions

View File

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

View File

@ -32,12 +32,6 @@
// CONSTANTS // CONSTANTS
//============================================================ //============================================================
//============================================================
// MACROS
//============================================================
//#define IS_YUV_MODE(_m) ((_m) >= VIDEO_SCALE_MODE_YV12 && (_m) <= VIDEO_SCALE_MODE_YUY2X2)
//============================================================ //============================================================
// TYPES // TYPES
//============================================================ //============================================================

View File

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

View File

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

View File

@ -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"
//============================================================ //============================================================

View File

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

View File

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

View File

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