VITASDK compatibility

This commit is contained in:
Ivan Epifanov 2020-12-18 16:34:24 +03:00 committed by Sam Lantinga
parent 7d89f09f74
commit ca5e5d6154
8 changed files with 86 additions and 12 deletions

View file

@ -28,7 +28,13 @@
#include "SDL_vitasensor.h"
#include "../SDL_syssensor.h"
#include <psp2/motion.h>
#if DOLCEVITA
#include <psp2/error.h>
#endif
#if !defined(SCE_MOTION_MAX_NUM_STATES)
#define SCE_MOTION_MAX_NUM_STATES 64
#endif
typedef struct
{