Skip to content

Commit 7878b6f

Browse files
committed
Prevent H wrap when cycle is shorter than VCE line. #101
1 parent f31ffc5 commit 7878b6f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/huc6270.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,7 @@ void HuC6270::NextHorizontalState()
527527
break;
528528
case HuC6270_HORIZONTAL_STATE_HSW:
529529
HUC6270_DEBUG(" HSW start\t");
530-
m_clocks_to_next_h_state = (m_latched_hsw + 1) << 3;
531-
HSyncStart();
530+
m_clocks_to_next_h_state = HUC6260_LINE_LENGTH;
532531
break;
533532
}
534533
}

0 commit comments

Comments
 (0)