mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
Merge pull request #580 from TomHarte/NameInitialisation
Ensures offset and flags are initialised to 0.
This commit is contained in:
commit
b9a752fda1
@ -211,8 +211,8 @@ class Base {
|
|||||||
// The names array holds pattern names, as an offset into memory, and
|
// The names array holds pattern names, as an offset into memory, and
|
||||||
// potentially flags also.
|
// potentially flags also.
|
||||||
struct {
|
struct {
|
||||||
size_t offset;
|
size_t offset = 0;
|
||||||
uint8_t flags;
|
uint8_t flags = 0;
|
||||||
} names[40];
|
} names[40];
|
||||||
|
|
||||||
// The patterns array holds tile patterns, corresponding 1:1 with names.
|
// The patterns array holds tile patterns, corresponding 1:1 with names.
|
||||||
|
Loading…
Reference in New Issue
Block a user