Ported the latest Voodoo changes from the other emulator.

This commit is contained in:
TC1995
2021-06-15 17:17:56 +02:00
parent 6bd2ba28ce
commit c703fedbe8
6 changed files with 17 additions and 10 deletions

View File

@@ -154,9 +154,6 @@ 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 || svga->force_legacy_mode)
if (svga->fb_only)
func_nr = 0;
else {
if (svga->force_dword_mode)

View File

@@ -469,6 +469,8 @@ typedef struct voodoo_t
uint32_t tile_base, tile_stride;
int tile_stride_shift, tile_x, tile_x_real;
int y_origin_swap;
int read_time, write_time, burst_time;
pc_timer_t wake_timer;