Correct the chipset mask setup (although I don't really know what to set here. CSMASK_AGA is 4 - we set it to 3. FOL?)

This commit is contained in:
simon.kagstrom 2009-05-27 16:45:13 +00:00
parent 80e852bcd1
commit fbd3091e39

View File

@ -239,12 +239,12 @@ static void insert_rom(void)
static void cpu_chipset_options(void) static void cpu_chipset_options(void)
{ {
const int cpu_levels[] = { 0, 1, 2, 3, 4, 6}; const int cpu_levels[] = { 0, 1, 2, 3, 4, 6};
const int chipset_masks[] = {0, CSMASK_ECS_AGNUS, CSMASK_ECS_DENISE, CSMASK_AGA}; const int chipset_masks[] = {0, 1, 2, 3};
int submenus[2], opt; int submenus[2], opt;
submenus[0] = find_index_by_val(currprefs.cpu_level, cpu_levels, submenus[0] = find_index_by_val(changed_prefs.cpu_level, cpu_levels,
sizeof(cpu_levels) / sizeof(cpu_levels[0]), 0); sizeof(cpu_levels) / sizeof(cpu_levels[0]), 0);
submenus[1] = find_index_by_val(currprefs.chipset_mask, chipset_masks, submenus[1] = find_index_by_val(changed_prefs.chipset_mask, chipset_masks,
sizeof(chipset_masks) / sizeof(chipset_masks[0]), 0); sizeof(chipset_masks) / sizeof(chipset_masks[0]), 0);
opt = menu_select_title("CPU/Chipset options menu", opt = menu_select_title("CPU/Chipset options menu",