Added a way to force legacy mode as a temporary fix for the Voodoo Banshee/3 until there's a proper fix.

This commit is contained in:
OBattler
2021-06-04 02:41:13 +02:00
parent 9161f9a071
commit eef77b7c86
3 changed files with 7 additions and 2 deletions

View File

@@ -154,6 +154,9 @@ typedef struct svga_t
/*Force CRTC to dword mode, regardless of CR14/CR17. Required for S3 enhanced mode*/
int force_dword_mode;
/*Force CRTC to legacy mode. Required for Voodoo Banshee/3 until there's a proper fix*/
int force_legacy_mode;
int remap_required;
uint32_t (*remap_func)(struct svga_t *svga, uint32_t in_addr);

View File

@@ -101,7 +101,7 @@ void svga_recalc_remap_func(svga_t *svga)
{
int func_nr;
if (svga->fb_only)
if (svga->fb_only || svga->force_legacy_mode)
func_nr = 0;
else {
if (svga->force_dword_mode)