Fixed (GP2X): 320x240 is now the Default and 'Safe' videomode.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@849 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
3479ae4c55
commit
9ae2ead8dd
@ -1654,7 +1654,11 @@ void Button_Safety_resolution(void)
|
||||
|
||||
Unselect_button(BUTTON_MAGNIFIER);
|
||||
|
||||
Init_mode_video(640, 400, 0,PIXEL_SIMPLE);
|
||||
Init_mode_video(
|
||||
Video_mode[0].Width,
|
||||
Video_mode[0].Height,
|
||||
Video_mode[0].Fullscreen,
|
||||
PIXEL_SIMPLE);
|
||||
Current_resolution=0;
|
||||
Display_menu();
|
||||
Reposition_palette();
|
||||
|
||||
8
init.c
8
init.c
@ -1592,14 +1592,20 @@ void Set_all_video_modes(void)
|
||||
// The first mode will have index number 0.
|
||||
// It will be the default mode if an unsupported one
|
||||
// is requested in gfx2.ini
|
||||
#if !defined(__GP2X__)
|
||||
#if defined(__GP2X__)
|
||||
// Native GP2X resolution
|
||||
Set_video_mode( 320,240,0, 1);
|
||||
#else
|
||||
// Window mode, with default size of 640x480
|
||||
Set_video_mode( 640,480,0, 0);
|
||||
#endif
|
||||
|
||||
Set_video_mode( 320,200,0, 1);
|
||||
Set_video_mode( 320,224,0, 1);
|
||||
#if !defined(__GP2X__)
|
||||
// For the GP2X, this one is already declared above.
|
||||
Set_video_mode( 320,240,0, 1);
|
||||
#endif
|
||||
Set_video_mode( 320,256,0, 1);
|
||||
Set_video_mode( 320,270,0, 1);
|
||||
Set_video_mode( 320,282,0, 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user