@@ -441,14 +441,13 @@ static const struct {
441
441
CE_INTVAL_N ("adev0_is_nublike" , in_adev_is_nublike [0 ]),
442
442
CE_INTVAL_N ("adev1_is_nublike" , in_adev_is_nublike [1 ]),
443
443
CE_INTVAL_V (frameskip , 4 ),
444
- CE_INTVAL_P ( gpu_peops . iUseDither ),
444
+ CE_INTVAL_PV ( dithering , 2 ),
445
445
CE_INTVAL_P (gpu_peops .dwActFixes ),
446
446
CE_INTVAL_P (gpu_unai .old_renderer ),
447
447
CE_INTVAL_P (gpu_unai .ilace_force ),
448
448
CE_INTVAL_P (gpu_unai .lighting ),
449
449
CE_INTVAL_P (gpu_unai .fast_lighting ),
450
450
CE_INTVAL_P (gpu_unai .blending ),
451
- CE_INTVAL_P (gpu_unai .dithering ),
452
451
CE_INTVAL_P (gpu_unai .scale_hires ),
453
452
CE_INTVAL_P (gpu_neon .allow_interlace ),
454
453
CE_INTVAL_P (gpu_neon .enhancement_enable ),
@@ -1427,7 +1426,6 @@ static menu_entry e_menu_plugin_gpu_neon[] =
1427
1426
mee_onoff_h ("Enhanced res. speed hack" , 0 , pl_rearmed_cbs .gpu_neon .enhancement_no_main , 1 , h_gpu_neon_enhanced_hack ),
1428
1427
mee_onoff_h ("Enh. res. texture adjust" , 0 , pl_rearmed_cbs .gpu_neon .enhancement_tex_adj , 1 , h_gpu_neon_enhanced_texadj ),
1429
1428
mee_enum ("Enable interlace mode" , 0 , pl_rearmed_cbs .gpu_neon .allow_interlace , men_gpu_interlace ),
1430
- mee_onoff ("Enable dithering" , 0 , pl_rearmed_cbs .gpu_neon .allow_dithering , 1 ),
1431
1429
mee_end ,
1432
1430
};
1433
1431
@@ -1444,7 +1442,6 @@ static menu_entry e_menu_plugin_gpu_unai[] =
1444
1442
{
1445
1443
mee_onoff ("Old renderer" , 0 , pl_rearmed_cbs .gpu_unai .old_renderer , 1 ),
1446
1444
mee_onoff ("Interlace" , 0 , pl_rearmed_cbs .gpu_unai .ilace_force , 1 ),
1447
- mee_onoff ("Dithering" , 0 , pl_rearmed_cbs .gpu_unai .dithering , 1 ),
1448
1445
mee_onoff ("Lighting" , 0 , pl_rearmed_cbs .gpu_unai .lighting , 1 ),
1449
1446
mee_onoff ("Fast lighting" , 0 , pl_rearmed_cbs .gpu_unai .fast_lighting , 1 ),
1450
1447
mee_onoff ("Blending" , 0 , pl_rearmed_cbs .gpu_unai .blending , 1 ),
@@ -1459,7 +1456,6 @@ static int menu_loop_plugin_gpu_unai(int id, int keys)
1459
1456
}
1460
1457
1461
1458
1462
- static const char * men_gpu_dithering [] = { "None" , "Game dependant" , "Always" , NULL };
1463
1459
//static const char h_gpu_0[] = "Needed for Chrono Cross";
1464
1460
static const char h_gpu_1 [] = "Capcom fighting games" ;
1465
1461
static const char h_gpu_2 [] = "Black screens in Lunar" ;
@@ -1472,7 +1468,6 @@ static const char h_gpu_10[] = "Toggle busy flags after drawing";
1472
1468
1473
1469
static menu_entry e_menu_plugin_gpu_peops [] =
1474
1470
{
1475
- mee_enum ("Dithering" , 0 , pl_rearmed_cbs .gpu_peops .iUseDither , men_gpu_dithering ),
1476
1471
// mee_onoff_h ("Odd/even bit hack", 0, pl_rearmed_cbs.gpu_peops.dwActFixes, 1<<0, h_gpu_0),
1477
1472
mee_onoff_h ("Expand screen width" , 0 , pl_rearmed_cbs .gpu_peops .dwActFixes , 1 <<1 , h_gpu_1 ),
1478
1473
mee_onoff_h ("Ignore brightness color" , 0 , pl_rearmed_cbs .gpu_peops .dwActFixes , 1 <<2 , h_gpu_2 ),
@@ -1551,6 +1546,8 @@ static int menu_loop_plugin_spu(int id, int keys)
1551
1546
return 0 ;
1552
1547
}
1553
1548
1549
+ static const char * men_gpu_dithering [] = { "OFF" , "ON" , "Force" , NULL };
1550
+
1554
1551
static const char h_bios [] = "HLE is simulated BIOS. BIOS selection is saved in\n"
1555
1552
"savestates and can't be changed there. Must save\n"
1556
1553
"config and reload the game for change to take effect" ;
@@ -1572,6 +1569,7 @@ static const char h_spu[] = "Configure built-in P.E.Op.S. Sound Driver V1
1572
1569
static menu_entry e_menu_plugin_options [] =
1573
1570
{
1574
1571
mee_enum_h ("BIOS" , 0 , bios_sel , bioses , h_bios ),
1572
+ mee_enum ("GPU Dithering" , 0 , pl_rearmed_cbs .dithering , men_gpu_dithering ),
1575
1573
mee_enum_h ("GPU plugin" , 0 , gpu_plugsel , gpu_plugins , h_plugin_gpu ),
1576
1574
mee_enum_h ("SPU plugin" , 0 , spu_plugsel , spu_plugins , h_plugin_spu ),
1577
1575
#ifdef BUILTIN_GPU_NEON
0 commit comments