From e85bd4cbbe645a0f2d3ed8284f02807086edd96c Mon Sep 17 00:00:00 2001 From: pelya Date: Thu, 11 Nov 2010 19:17:32 +0200 Subject: [PATCH] Added another video mode to work with REminiscence in fullscreen --- project/jni/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/project/jni/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c b/project/jni/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c index 354eb0a6a..0e9a5e311 100644 --- a/project/jni/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c +++ b/project/jni/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c @@ -100,7 +100,7 @@ static void ANDROID_UpdateRects(_THIS, int numrects, SDL_Rect *rects); /* Private display data */ -#define SDL_NUMMODES 6 +#define SDL_NUMMODES 7 static SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; //#define SDL_modelist (this->hidden->SDL_modelist) @@ -231,7 +231,8 @@ int ANDROID_VideoInit(_THIS, SDL_PixelFormat *vformat) SDL_modelist[3]->w = 640; SDL_modelist[3]->h = 400; // Will likely be shrinked SDL_modelist[4]->w = 320; SDL_modelist[4]->h = 240; // Always available on any screen and any orientation SDL_modelist[5]->w = 320; SDL_modelist[5]->h = 200; // Always available on any screen and any orientation - SDL_modelist[6] = NULL; + SDL_modelist[6]->w = 256; SDL_modelist[6]->h = 224; // Always available on any screen and any orientation + SDL_modelist[7] = NULL; SDL_VideoInit_1_3(NULL, 0);