Small fix to app resolution - game is not playable currently on Supersonic

This commit is contained in:
pelya
2010-05-07 13:30:37 +03:00
parent 2f484609dd
commit f25dcd7164
2 changed files with 4 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ int getRandValue( const int *choicesWeights, int nrChoices, int sumWeights=0 );
void initAllSurfaces();
// screen options
const int SCREEN_WIDTH = 320;
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
const int BIT_DEPTH = 16;

View File

@@ -209,9 +209,9 @@ int ANDROID_VideoInit(_THIS, SDL_PixelFormat *vformat)
}
/* Modes sorted largest to smallest */
SDL_modelist[0]->w = sWindowWidth; SDL_modelist[0]->h = sWindowHeight;
SDL_modelist[1]->w = 320; SDL_modelist[1]->h = 240; // Always available on any screen and any orientation
SDL_modelist[2]->w = 320; SDL_modelist[2]->h = 200; // Always available on any screen and any orientation
SDL_modelist[3]->w = 640; SDL_modelist[3]->h = 480; // Requires accelerometer to scroll large virtual display surface
SDL_modelist[1]->w = 640; SDL_modelist[1]->h = 480; // Will likely be shrinked
SDL_modelist[2]->w = 320; SDL_modelist[2]->h = 240; // Always available on any screen and any orientation
SDL_modelist[3]->w = 320; SDL_modelist[3]->h = 200; // Always available on any screen and any orientation
SDL_modelist[4] = NULL;
WaitForNativeRender = SDL_CreateMutex();