atimach64gx: Remove second column.

It incorrectly implies a relationship between items on the same row.
This commit is contained in:
joevt 2024-02-27 18:16:19 -08:00 committed by dingusdev
parent 6c0ca42fff
commit 49f7da4402

View File

@ -92,22 +92,38 @@ void AtiMach64Gx::notify_bar_change(int bar_num)
// map I/O register index to MMIO register offset
static const uint32_t io_idx_to_reg_offset[32] = {
ATI_CRTC_H_TOTAL_DISP, ATI_CRTC_H_SYNC_STRT_WID,
ATI_CRTC_V_TOTAL_DISP, ATI_CRTC_V_SYNC_STRT_WID,
ATI_CRTC_VLINE_CRNT_VLINE, ATI_CRTC_OFF_PITCH,
ATI_CRTC_INT_CNTL, ATI_CRTC_GEN_CNTL,
ATI_OVR_CLR, ATI_OVR_WID_LEFT_RIGHT,
ATI_OVR_WID_TOP_BOTTOM, ATI_CUR_CLR0,
ATI_CUR_CLR1, ATI_CUR_OFFSET,
ATI_CUR_HORZ_VERT_POSN, ATI_CUR_HORZ_VERT_OFF,
ATI_SCRATCH_REG0, ATI_SCRATCH_REG1,
ATI_CLOCK_CNTL, ATI_BUS_CNTL,
ATI_MEM_CNTL, ATI_MEM_VGA_WP_SEL,
ATI_MEM_VGA_RP_SEL, ATI_DAC_REGS,
ATI_DAC_CNTL, ATI_GEN_TEST_CNTL,
ATI_CONFIG_CNTL, ATI_CONFIG_CHIP_ID,
ATI_CONFIG_STAT0, ATI_GX_CONFIG_STAT1,
ATI_INVALID, ATI_CRTC_H_TOTAL_DISP
ATI_CRTC_H_TOTAL_DISP,
ATI_CRTC_H_SYNC_STRT_WID,
ATI_CRTC_V_TOTAL_DISP,
ATI_CRTC_V_SYNC_STRT_WID,
ATI_CRTC_VLINE_CRNT_VLINE,
ATI_CRTC_OFF_PITCH,
ATI_CRTC_INT_CNTL,
ATI_CRTC_GEN_CNTL,
ATI_OVR_CLR,
ATI_OVR_WID_LEFT_RIGHT,
ATI_OVR_WID_TOP_BOTTOM,
ATI_CUR_CLR0,
ATI_CUR_CLR1,
ATI_CUR_OFFSET,
ATI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