1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Allows the sprite terminator to be specified.

This commit is contained in:
Thomas Harte
2018-10-23 20:01:47 -04:00
parent 7eeefd2602
commit 2cbd28478d
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -155,9 +155,10 @@ class Base {
} end_of_frame_interrupt_position;
int line_interrupt_position = -1;
// Enables or disabled the recognition of 0xd0 as a sprite
// list terminator.
// Enables or disabled the recognition of the sprite
// list terminator, and sets the terminator value.
bool allow_sprite_terminator = true;
uint8_t sprite_terminator = 0xd0;
} mode_timing_;
uint8_t line_interrupt_target = 0xff;