Don't set screen_is_picasso = 0 during reset
This commit is contained in:
parent
a4f387ce37
commit
951c2b7662
3 changed files with 5 additions and 7 deletions
|
@ -11,8 +11,8 @@ int machdep_init(void)
|
||||||
{
|
{
|
||||||
struct amigadisplay* ad = &adisplays;
|
struct amigadisplay* ad = &adisplays;
|
||||||
|
|
||||||
ad->picasso_requested_on = 0;
|
ad->picasso_requested_on = false;
|
||||||
ad->picasso_on = 0;
|
ad->picasso_on = false;
|
||||||
screen_is_picasso = 0;
|
screen_is_picasso = 0;
|
||||||
|
|
||||||
// Initialize timebase
|
// Initialize timebase
|
||||||
|
|
|
@ -574,9 +574,8 @@ void uae_reset(int hardreset, int keyboardreset)
|
||||||
quit_program = -UAE_RESET_HARD;
|
quit_program = -UAE_RESET_HARD;
|
||||||
}
|
}
|
||||||
struct amigadisplay* ad = &adisplays;
|
struct amigadisplay* ad = &adisplays;
|
||||||
ad->picasso_requested_on = 0;
|
ad->picasso_requested_on = false;
|
||||||
ad->picasso_on = 0;
|
ad->picasso_on = false;
|
||||||
screen_is_picasso = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void uae_quit(void)
|
void uae_quit(void)
|
||||||
|
|
|
@ -1548,9 +1548,8 @@ void picasso_init_resolutions()
|
||||||
#ifdef PICASSO96
|
#ifdef PICASSO96
|
||||||
void gfx_set_picasso_state(int on)
|
void gfx_set_picasso_state(int on)
|
||||||
{
|
{
|
||||||
if (on == screen_is_picasso)
|
if (screen_is_picasso == on)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
screen_is_picasso = on;
|
screen_is_picasso = on;
|
||||||
open_screen(&currprefs);
|
open_screen(&currprefs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue