aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorptitSeb2017-11-30 19:18:45 +0100
committerptitSeb2017-11-30 19:18:45 +0100
commitc5e4535f9ac06c25bd37529b351fbbf927e82683 (patch)
tree8f19cdcc97cc954d26bbfd71d5fad9880f83153d /src/main.c
parent7f40970f2ce3a54fab59245628e1e10cae148957 (diff)
downloadhydracastlelabyrinth-c5e4535f9ac06c25bd37529b351fbbf927e82683.tar.gz
hydracastlelabyrinth-c5e4535f9ac06c25bd37529b351fbbf927e82683.tar.bz2
hydracastlelabyrinth-c5e4535f9ac06c25bd37529b351fbbf927e82683.zip
Added PYRA and CHIP support
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 475ba5c..cd09738 100644
--- a/src/main.c
+++ b/src/main.c
@@ -39,12 +39,18 @@ int main(int argc, char **argv)
osSetSpeedupEnable(false);
#endif
#ifdef _SDL
- #ifdef PANDORA
+ #if defined(PANDORA) || defined(PYRA) || defined(CHIP)
wantFullscreen = 1;
#else
wantFullscreen = 0;
#endif
+ #ifdef CHIP
+ screenScale = 1;
+ #elif defined(PYRA)
+ screenScale = 3;
+ #else
screenScale = 2;
+ #endif
useJoystick = 1;
// get command line arguments
for (int i=1; i<argc; i++)