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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user