mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 02:29:17 +01:00
No resolution change with Picasso card emulation
This commit is contained in:
parent
408779bd33
commit
f6529b544f
@ -77,7 +77,7 @@ static int red_bits, green_bits, blue_bits;
|
|||||||
static int red_shift, green_shift, blue_shift;
|
static int red_shift, green_shift, blue_shift;
|
||||||
|
|
||||||
#ifdef PICASSO96
|
#ifdef PICASSO96
|
||||||
static int screen_is_picasso;
|
int screen_is_picasso;
|
||||||
static int screen_was_picasso;
|
static int screen_was_picasso;
|
||||||
static char picasso_invalid_lines[1201];
|
static char picasso_invalid_lines[1201];
|
||||||
static int picasso_has_invalid_lines;
|
static int picasso_has_invalid_lines;
|
||||||
|
@ -45,7 +45,7 @@ static const char *main_menu_messages[] = {
|
|||||||
/*01*/ "^|df0|df1|df2|df3",
|
/*01*/ "^|df0|df1|df2|df3",
|
||||||
/*02*/ "States",
|
/*02*/ "States",
|
||||||
/*03*/ "^|Load|Save|Delete",
|
/*03*/ "^|Load|Save|Delete",
|
||||||
/*04*/ "#1-------------------------------------",
|
/*04*/ "#1-----------------------------------------------",
|
||||||
/*05*/ "Wiimote configuration",
|
/*05*/ "Wiimote configuration",
|
||||||
/*06*/ "^|Wiimote1|Wiimote2",
|
/*06*/ "^|Wiimote1|Wiimote2",
|
||||||
/*07*/ "Hardware options",
|
/*07*/ "Hardware options",
|
||||||
@ -1239,6 +1239,8 @@ static void set_gfx_resolution (int res)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern int screen_is_picasso;
|
||||||
|
|
||||||
static void other_options(void)
|
static void other_options(void)
|
||||||
{
|
{
|
||||||
int submenus[8];
|
int submenus[8];
|
||||||
@ -1265,7 +1267,11 @@ static void other_options(void)
|
|||||||
set_floppy_speed(submenus[0]);
|
set_floppy_speed(submenus[0]);
|
||||||
set_floppy_number(submenus[1]);
|
set_floppy_number(submenus[1]);
|
||||||
set_gfx_aspect_ratio(submenus[2]);
|
set_gfx_aspect_ratio(submenus[2]);
|
||||||
if (old_sub_3 != submenus[3]) set_gfx_resolution(submenus[3]);
|
if (old_sub_3 != submenus[3])
|
||||||
|
{
|
||||||
|
if (screen_is_picasso) msgInfo("No gfx change with Picasso",3000,NULL);
|
||||||
|
else set_gfx_resolution(submenus[3]);
|
||||||
|
}
|
||||||
if (changed_prefs.gfx_width_win == 640) changed_prefs.gfx_linedbl = submenus[4] ? 1 : 2;
|
if (changed_prefs.gfx_width_win == 640) changed_prefs.gfx_linedbl = submenus[4] ? 1 : 2;
|
||||||
changed_prefs.leds_on_screen = !submenus[5];
|
changed_prefs.leds_on_screen = !submenus[5];
|
||||||
set_Port(submenus[6]);
|
set_Port(submenus[6]);
|
||||||
|
Loading…
Reference in New Issue
Block a user