mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Ensured this array is properly aligned for the uin32_t
accesses I intend to make for background drawing.
This commit is contained in:
parent
dcb7584060
commit
70745286a5
@ -92,7 +92,7 @@ class TIA {
|
|||||||
int output_mode_;
|
int output_mode_;
|
||||||
|
|
||||||
// keeps track of the target pixel buffer for this line and when it was acquired, and a corresponding collision buffer
|
// keeps track of the target pixel buffer for this line and when it was acquired, and a corresponding collision buffer
|
||||||
uint8_t collision_buffer_[160];
|
alignas(alignof(uint32_t)) uint8_t collision_buffer_[160];
|
||||||
enum class CollisionType : uint8_t {
|
enum class CollisionType : uint8_t {
|
||||||
Playfield = (1 << 0),
|
Playfield = (1 << 0),
|
||||||
Ball = (1 << 1),
|
Ball = (1 << 1),
|
||||||
|
Loading…
Reference in New Issue
Block a user