|
@@ -24,13 +24,8 @@
|
|
|
|
|
|
#ifndef SDL_JOYSTICK_DISABLED
|
|
#ifndef SDL_JOYSTICK_DISABLED
|
|
|
|
|
|
-#ifdef __IPHONEOS__
|
|
|
|
-#define SCREEN_WIDTH 480
|
|
|
|
-#define SCREEN_HEIGHT 320
|
|
|
|
-#else
|
|
|
|
#define SCREEN_WIDTH 512
|
|
#define SCREEN_WIDTH 512
|
|
#define SCREEN_HEIGHT 320
|
|
#define SCREEN_HEIGHT 320
|
|
-#endif
|
|
|
|
|
|
|
|
/* This is indexed by SDL_GameControllerButton. */
|
|
/* This is indexed by SDL_GameControllerButton. */
|
|
static const struct { int x; int y; } button_positions[] = {
|
|
static const struct { int x; int y; } button_positions[] = {
|