Fix Mach64 pixel clock.
This commit is contained in:
parent
c0a7fcb343
commit
e2cddb8759
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ void mach64_recalctimings(svga_t *svga)
|
||||||
svga->hdisp_time = svga->hdisp = ((mach64->crtc_h_total_disp >> 16) & 255) + 1;
|
svga->hdisp_time = svga->hdisp = ((mach64->crtc_h_total_disp >> 16) & 255) + 1;
|
||||||
svga->vsyncstart = (mach64->crtc_v_sync_strt_wid & 2047) + 1;
|
svga->vsyncstart = (mach64->crtc_v_sync_strt_wid & 2047) + 1;
|
||||||
svga->rowoffset = (mach64->crtc_off_pitch >> 22);
|
svga->rowoffset = (mach64->crtc_off_pitch >> 22);
|
||||||
svga->clock = cpuclock / mach64->ics2595.output_clock;
|
svga->clock = (cpuclock * (float)(1ull << 32)) / mach64->ics2595.output_clock;
|
||||||
svga->ma_latch = (mach64->crtc_off_pitch & 0x1fffff) * 2;
|
svga->ma_latch = (mach64->crtc_off_pitch & 0x1fffff) * 2;
|
||||||
svga->linedbl = svga->rowcount = 0;
|
svga->linedbl = svga->rowcount = 0;
|
||||||
svga->split = 0xffffff;
|
svga->split = 0xffffff;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue