Disable "native scaled bitmaps" option if we're in palette mapped mode

This commit is contained in:
Chris Young 2016-01-30 16:35:10 +00:00
parent e6b827979b
commit f5ab570320

View File

@ -503,7 +503,7 @@ void ami_gui_opts_open(void)
BOOL proxyhostdisabled = TRUE, proxyauthdisabled = TRUE, proxybypassdisabled = FALSE;
BOOL disableanims, animspeeddisabled = FALSE, acceptlangdisabled = FALSE;
BOOL scaleselected = nsoption_bool(scale_quality), scaledisabled = FALSE;
BOOL ditherdisable = TRUE;
BOOL ditherdisable = TRUE, nativebm_disable = FALSE;
BOOL download_notify_disabled = FALSE;
BOOL ptr_disable = FALSE;
char animspeed[10];
@ -550,8 +550,10 @@ void ami_gui_opts_open(void)
screenmodeid = strtoul(nsoption_charp(screen_modeid),NULL,0);
}
if(ami_plot_screen_is_palettemapped() == true)
if(ami_plot_screen_is_palettemapped() == true) {
ditherdisable = FALSE;
nativebm_disable = TRUE;
}
if(nsoption_bool(http_proxy) == true)
{
@ -1014,6 +1016,7 @@ void ami_gui_opts_open(void)
LAYOUT_AddChild, gow->objects[GID_OPTS_NATIVEBM] = ChooserObj,
GA_ID, GID_OPTS_NATIVEBM,
GA_RelVerify, TRUE,
GA_Disabled, nativebm_disable,
CHOOSER_PopUp, TRUE,
#ifdef __amigaos4__
CHOOSER_LabelArray, nativebmopts,