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:
parent
8d900cf636
commit
54be424159
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user