Permalink
Browse files

Added more video modes for UAE4ALL2

  • Loading branch information...
1 parent b57b1a6 commit e42289a220c89b0756194099c19524d8d3fbbcec @pelya committed Dec 15, 2012
Showing with 8 additions and 2 deletions.
  1. +8 −2 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 17
+#define SDL_NUMMODES 23
static SDL_Rect *SDL_modelist[SDL_NUMMODES+1];
//#define SDL_modelist (this->hidden->SDL_modelist)
@@ -287,7 +287,13 @@ int ANDROID_VideoInit(_THIS, SDL_PixelFormat *vformat)
SDL_modelist[14]->w = 640; SDL_modelist[14]->h = 200; // For UAE4ALL2
SDL_modelist[15]->w = 640; SDL_modelist[15]->h = 240; // For UAE4ALL2
SDL_modelist[16]->w = 640; SDL_modelist[16]->h = 256; // For UAE4ALL2
- SDL_modelist[17] = NULL;
+ SDL_modelist[17]->w = 320; SDL_modelist[17]->h = 262; // For UAE4ALL2
+ SDL_modelist[18]->w = 640; SDL_modelist[18]->h = 262; // For UAE4ALL2
+ SDL_modelist[19]->w = 320; SDL_modelist[19]->h = 270; // For UAE4ALL2
+ 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_VideoInit_1_3(NULL, 0);

0 comments on commit e42289a

Please sign in to comment.