Skip to content

Commit

Permalink
Small fix to app resolution - game is not playable currently on Super…
Browse files Browse the repository at this point in the history
…sonic
  • Loading branch information
pelya committed May 7, 2010
1 parent 2f48460 commit f25dcd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion alienblaster/project/jni/application/src/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f25dcd7

Please sign in to comment.