mirror of https://github.com/encounter/SDL.git
Patched to compile on various platforms.
This commit is contained in:
parent
c61675dc5d
commit
9b4db2b8aa
|
@ -46,7 +46,7 @@
|
||||||
#include "../SDL_audio_c.h"
|
#include "../SDL_audio_c.h"
|
||||||
#include "SDL_pulseaudio.h"
|
#include "SDL_pulseaudio.h"
|
||||||
#include "SDL_loadso.h"
|
#include "SDL_loadso.h"
|
||||||
#include "../thread/SDL_systhread.h"
|
#include "../../thread/SDL_systhread.h"
|
||||||
|
|
||||||
#if (PA_API_VERSION < 12)
|
#if (PA_API_VERSION < 12)
|
||||||
/** Return non-zero if the passed state is one of the connected states */
|
/** Return non-zero if the passed state is one of the connected states */
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "SDL_xinputhaptic_c.h"
|
#include "SDL_xinputhaptic_c.h"
|
||||||
#include "../../core/windows/SDL_xinput.h"
|
#include "../../core/windows/SDL_xinput.h"
|
||||||
#include "../../joystick/windows/SDL_windowsjoystick_c.h"
|
#include "../../joystick/windows/SDL_windowsjoystick_c.h"
|
||||||
#include "../thread/SDL_systhread.h"
|
#include "../../thread/SDL_systhread.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Internal stuff.
|
* Internal stuff.
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "SDL_error.h"
|
#include "SDL_error.h"
|
||||||
#include "SDL_mutex.h"
|
#include "SDL_mutex.h"
|
||||||
#include "SDL_timer.h"
|
#include "SDL_timer.h"
|
||||||
#include "../thread/SDL_systhread.h"
|
#include "../../thread/SDL_systhread.h"
|
||||||
|
|
||||||
/* Current pad state */
|
/* Current pad state */
|
||||||
static SceCtrlData pad = { .Lx = 0, .Ly = 0, .Buttons = 0 };
|
static SceCtrlData pad = { .Lx = 0, .Ly = 0, .Buttons = 0 };
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include "SDL_hints.h"
|
#include "SDL_hints.h"
|
||||||
#include "SDL_joystick.h"
|
#include "SDL_joystick.h"
|
||||||
#include "../SDL_sysjoystick.h"
|
#include "../SDL_sysjoystick.h"
|
||||||
#include "../thread/SDL_systhread.h"
|
#include "../../thread/SDL_systhread.h"
|
||||||
#if !SDL_EVENTS_DISABLED
|
#if !SDL_EVENTS_DISABLED
|
||||||
#include "../../events/SDL_events_c.h"
|
#include "../../events/SDL_events_c.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "SDL_BeApp.h"
|
#include "SDL_BeApp.h"
|
||||||
#include "SDL_timer.h"
|
#include "SDL_timer.h"
|
||||||
#include "SDL_error.h"
|
#include "SDL_error.h"
|
||||||
#include "../thread/SDL_systhread.h"
|
#include "../../thread/SDL_systhread.h"
|
||||||
|
|
||||||
#include "../../video/haiku/SDL_BWin.h"
|
#include "../../video/haiku/SDL_BWin.h"
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "SDL_keyboard.h"
|
#include "SDL_keyboard.h"
|
||||||
#include "SDL_cocoavideo.h"
|
#include "SDL_cocoavideo.h"
|
||||||
#include "../thread/SDL_systhread.h"
|
#include "../../thread/SDL_systhread.h"
|
||||||
|
|
||||||
#include "../../events/SDL_mouse_c.h"
|
#include "../../events/SDL_mouse_c.h"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "SDL_pspvideo.h"
|
#include "SDL_pspvideo.h"
|
||||||
#include "SDL_pspevents_c.h"
|
#include "SDL_pspevents_c.h"
|
||||||
#include "SDL_keyboard.h"
|
#include "SDL_keyboard.h"
|
||||||
#include "../thread/SDL_systhread.h"
|
#include "../../thread/SDL_systhread.h"
|
||||||
#include <psphprm.h>
|
#include <psphprm.h>
|
||||||
|
|
||||||
#ifdef PSPIRKEYB
|
#ifdef PSPIRKEYB
|
||||||
|
|
|
@ -38,7 +38,7 @@ using Windows::UI::Core::CoreCursor;
|
||||||
#include "../../core/winrt/SDL_winrtapp_xaml.h"
|
#include "../../core/winrt/SDL_winrtapp_xaml.h"
|
||||||
#include "SDL_assert.h"
|
#include "SDL_assert.h"
|
||||||
#include "SDL_system.h"
|
#include "SDL_system.h"
|
||||||
#include "../thread/SDL_systhread.h"
|
#include "../../thread/SDL_systhread.h"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
|
|
Loading…
Reference in New Issue