1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-26 10:29:31 +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) {
// Don't include the sprite post-amble (i.e. a spurious read with no side effects).
if(block < 32) {
return Event::Type::SpriteY;
return Event(Event::Type::SpriteY, uint8_t(block));
}
} else {
return Event::Type::External;