From 03e6a99d5dbca04be1835a624151f5d04869e209 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Thu, 6 Dec 2018 22:48:46 +0100 Subject: [PATCH] Updated default P96 modeflags to RGBFF_R5G6B5PC for 16-bit screens --- src/osdep/amiberry.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/osdep/amiberry.cpp b/src/osdep/amiberry.cpp index 8df6708a..d0e60e40 100644 --- a/src/osdep/amiberry.cpp +++ b/src/osdep/amiberry.cpp @@ -218,14 +218,14 @@ void target_fixup_options(struct uae_prefs* p) p->cs_cd32fmv = true; } - p->picasso96_modeflags = RGBFF_CLUT | RGBFF_R5G6B5 | RGBFF_R8G8B8A8; + p->picasso96_modeflags = RGBFF_CLUT | RGBFF_R5G6B5PC | RGBFF_R8G8B8A8; if (p->gfx_size.width == 0) p->gfx_size.width = 640; if (p->gfx_size.height == 0) p->gfx_size.height = 256; p->gfx_resolution = p->gfx_size.width > 600 ? 1 : 0; - if (p->gfx_vresolution && !can_have_linedouble) + if (p->gfx_vresolution && !can_have_linedouble) // If there's not enough vertical space, cancel Line Doubling/Scanlines p->gfx_vresolution = 0; if (p->cachesize > 0) @@ -242,7 +242,7 @@ void target_fixup_options(struct uae_prefs* p) void target_default_options(struct uae_prefs* p, int type) { p->fast_copper = 0; - p->picasso96_modeflags = RGBFF_CLUT | RGBFF_R5G6B5 | RGBFF_R8G8B8A8; + p->picasso96_modeflags = RGBFF_CLUT | RGBFF_R5G6B5PC | RGBFF_R8G8B8A8; p->kbd_led_num = -1; // No status on numlock p->kbd_led_scr = -1; // No status on scrollock @@ -250,7 +250,7 @@ void target_default_options(struct uae_prefs* p, int type) p->vertical_offset = OFFSET_Y_ADJUST; p->gfx_correct_aspect = 1; // Default is Enabled p->scaling_method = -1; //Default is Auto - p->gfx_vresolution = 0; // Disabled by default due to big performance hit under SDL2 + p->gfx_vresolution = 0; // Disabled by default due performance hit _tcscpy(p->open_gui, "F12"); _tcscpy(p->quit_amiberry, "");