Index: cfgmgr/ReadMe.txt |
— | — | @@ -315,6 +315,25 @@ |
316 | 316 | 1 - Expand viewable area. May have glitches on edge of screen.
|
317 | 317 | 2 - Crop to viewable area. May cause graphics to get cut off.
|
318 | 318 |
|
| 319 | +Member LowColorRendering
|
| 320 | +INI Entry LowColorRendering
|
| 321 | +INI Group d3d
|
| 322 | +REG_DWORD HKCU\DXGL\Profiles\<app>\LowColorRendering
|
| 323 | +If nonzero, increases low color render targets to 32bpp.
|
| 324 | +
|
| 325 | +Member EnableDithering
|
| 326 | +INI Entry EnableDithering
|
| 327 | +INI Group d3d
|
| 328 | +REG_DWORD HKCU\DXGL\Profiles\<app>\EnableDithering
|
| 329 | +Determines when dithering is enabled for Direct3D rendering.
|
| 330 | +Valid settings:
|
| 331 | +0 - Enables dithering when requested by the application except when in a
|
| 332 | + true-color mode.
|
| 333 | +1 - Disables dithering at all times.
|
| 334 | +2 - Always enables dithering for low color modes.
|
| 335 | +3 - Enables dithering per application, for all modes.
|
| 336 | +4 - Always enables dithering, for all modes.
|
| 337 | +
|
319 | 338 | Member vsync
|
320 | 339 | INI Entry VSync
|
321 | 340 | INI Group advanced
|
Index: cfgmgr/cfgmgr.c |
— | — | @@ -546,6 +546,8 @@ |
547 | 547 | cfg->anisotropic = ReadDWORD(hKey,cfg->anisotropic,&cfgmask->anisotropic,_T("AnisotropicFiltering"));
|
548 | 548 | cfg->msaa = ReadDWORD(hKey,cfg->msaa,&cfgmask->msaa,_T("Antialiasing"));
|
549 | 549 | cfg->aspect3d = ReadDWORD(hKey,cfg->aspect3d,&cfgmask->aspect3d,_T("AdjustAspectRatio"));
|
| 550 | + cfg->LowColorRendering = ReadDWORD(hKey, cfg->LowColorRendering, &cfgmask->LowColorRendering, _T("LowColorRendering"));
|
| 551 | + cfg->EnableDithering = ReadDWORD(hKey, cfg->EnableDithering, &cfgmask->EnableDithering, _T("EnableDithering"));
|
550 | 552 | cfg->primaryscale = ReadDWORD(hKey,cfg->primaryscale,&cfgmask->primaryscale,_T("AdjustPrimaryResolution"));
|
551 | 553 | cfg->primaryscalex = ReadFloat(hKey,cfg->primaryscalex,&cfgmask->primaryscalex,_T("PrimaryScaleX"));
|
552 | 554 | cfg->primaryscaley = ReadFloat(hKey,cfg->primaryscaley,&cfgmask->primaryscaley,_T("PrimaryScaleY"));
|
— | — | @@ -680,6 +682,8 @@ |
681 | 683 | WriteDWORD(hKey,cfg->anisotropic,cfgmask->anisotropic,_T("AnisotropicFiltering"));
|
682 | 684 | WriteDWORD(hKey,cfg->msaa,cfgmask->msaa,_T("Antialiasing"));
|
683 | 685 | WriteDWORD(hKey,cfg->aspect3d,cfgmask->aspect3d,_T("AdjustAspectRatio"));
|
| 686 | + WriteDWORD(hKey, cfg->LowColorRendering, cfgmask->LowColorRendering, _T("LowColorRendering"));
|
| 687 | + WriteDWORD(hKey, cfg->EnableDithering, cfgmask->EnableDithering, _T("EnableDithering"));
|
684 | 688 | WriteDWORD(hKey,cfg->primaryscale,cfgmask->primaryscale,_T("AdjustPrimaryResolution"));
|
685 | 689 | WriteFloat(hKey,cfg->primaryscalex,cfgmask->primaryscalex,_T("PrimaryScaleX"));
|
686 | 690 | WriteFloat(hKey,cfg->primaryscaley,cfgmask->primaryscaley,_T("PrimaryScaleY"));
|
— | — | @@ -935,6 +939,8 @@ |
936 | 940 | if (!stricmp(name, "AnisotropicFiltering")) cfg->anisotropic = INIIntValue(value);
|
937 | 941 | if (!stricmp(name, "Antialiasing")) cfg->msaa = INIHexValue(value);
|
938 | 942 | if (!stricmp(name, "D3DAspect")) cfg->aspect3d = INIIntValue(value);
|
| 943 | + if (!stricmp(name, "LowColorRendering")) cfg->LowColorRendering = INIIntValue(value);
|
| 944 | + if (!stricmp(name, "EnableDithering")) cfg->EnableDithering = INIIntValue(value);
|
939 | 945 | }
|
940 | 946 | if (!stricmp(section, "advanced"))
|
941 | 947 | {
|
Index: cfgmgr/cfgmgr.h |
— | — | @@ -60,6 +60,8 @@ |
61 | 61 | DWORD anisotropic;
|
62 | 62 | DWORD msaa;
|
63 | 63 | DWORD aspect3d;
|
| 64 | + DWORD LowColorRendering;
|
| 65 | + DWORD EnableDithering;
|
64 | 66 | // [advanced]
|
65 | 67 | DWORD vsync;
|
66 | 68 | DWORD TextureFormat;
|