mirror of
https://github.com/MiSTer-devel/MegaCD_MiSTer.git
synced 2026-04-19 03:04:28 +00:00
Update vdp.vhd - fix VDP counter reload on V30 (#105)
VDP: Vcounter doesn't reload with NTSC/V30 (SoR2 hacks will fail to load stage).
This commit is contained in:
@@ -2379,7 +2379,8 @@ begin
|
||||
end if;
|
||||
|
||||
if HV_HCNT = H_INT_POS then
|
||||
if HV_VCNT = V_DISP_START + V_TOTAL_HEIGHT - 1 then --VDISP_START is negative
|
||||
if HV_VCNT = V_DISP_START + V_TOTAL_HEIGHT - 1 and --VDISP_START is negative
|
||||
(V30 = '0' or PAL = '1') then -- NTSC with V30 will not reload the VCounter
|
||||
--just after VSYNC
|
||||
HV_VCNT <= V_DISP_START;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user