1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Include sprite index in SpriteY event.

This commit is contained in:
Thomas Harte 2023-02-19 22:04:38 -05:00
parent 8d900cf636
commit 54be424159

View File

@ -335,7 +335,7 @@ template <Personality personality> struct Storage<personality, std::enable_if_t<
if(include_sprites) { if(include_sprites) {
// Don't include the sprite post-amble (i.e. a spurious read with no side effects). // Don't include the sprite post-amble (i.e. a spurious read with no side effects).
if(block < 32) { if(block < 32) {
return Event::Type::SpriteY; return Event(Event::Type::SpriteY, uint8_t(block));
} }
} else { } else {
return Event::Type::External; return Event::Type::External;