1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 03:29:40 +00:00

Sprites: avoid magic constants, ensure proper DMA resumption.

This commit is contained in:
Thomas Harte
2021-11-26 16:02:18 -05:00
parent 1c0962e53c
commit eca80f1425
3 changed files with 16 additions and 12 deletions
+1
View File
@@ -59,6 +59,7 @@ void Sprite::advance_line(int y, bool is_end_of_blank) {
}
if(is_end_of_blank || y == v_stop_) {
dma_state_ = DMAState::FetchControl;
visible = true;
}
}