Browse files

Minor fixes to VICE

  • Loading branch information...
1 parent f46c8f3 commit 8d1985d7e903613b7e7062e499b92e646b7acd27 @pelya committed Mar 4, 2013
View
2 project/jni/application/vice/AndroidAppSettings.cfg
@@ -52,7 +52,7 @@ AppLdflags=''
AppOverlapsSystemHeaders=
AppSubdirsBuild=''
AppBuildExclude=''
-AppCmdline='vice -sdlcustomw 640 -sdlcustomh 400 -sdllimitmode 1 +truedrive'
+AppCmdline='vice +truedrive +VICIIdsize'
ReadmeText='^You may press "Home" now - the data will be downloaded in background'
MinimumScreenSize=s
AdmobPublisherId=n
View
5 project/jni/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c
@@ -115,7 +115,7 @@ int ANDROID_ToggleFullScreen(_THIS, int fullscreen)
return 1;
}
-#define SDL_NUMMODES 23
+#define SDL_NUMMODES 24
static SDL_Rect *SDL_modelist[SDL_NUMMODES+1];
//#define SDL_modelist (this->hidden->SDL_modelist)
@@ -293,7 +293,8 @@ int ANDROID_VideoInit(_THIS, SDL_PixelFormat *vformat)
SDL_modelist[20]->w = 640; SDL_modelist[20]->h = 270; // For UAE4ALL2
SDL_modelist[21]->w = 320; SDL_modelist[21]->h = 216; // For UAE4ALL2
SDL_modelist[22]->w = 640; SDL_modelist[22]->h = 216; // For UAE4ALL2
- SDL_modelist[23] = NULL;
+ SDL_modelist[23]->w = 384; SDL_modelist[23]->h = 272; // For VCMI
+ SDL_modelist[24] = NULL;
SDL_VideoInit_1_3(NULL, 0);

0 comments on commit 8d1985d

Please sign in to comment.