Ported the latest Voodoo changes from the other emulator.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user