summaryrefslogtreecommitdiff
path: root/mknes.h
diff options
context:
space:
mode:
Diffstat (limited to 'mknes.h')
-rw-r--r--mknes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mknes.h b/mknes.h
index 0ae37f4..d3e3840 100644
--- a/mknes.h
+++ b/mknes.h
@@ -48,7 +48,7 @@ struct ppu_state {
uint8_t sprite_count;
uint8_t palette[32];
-// NOTE(peter): one byte left on cacheline
+ uint8_t frame_ready;
// NOTE(peter): CACHELINE 2 start here!
uint8_t sprite_indexes[8];
@@ -63,7 +63,6 @@ struct ppu_state {
uint8_t input_latch[2]; // Latched inputs after strobe
uint8_t input_bit[2]; // Current bit position being shifted out
uint8_t input_strobe; // Control bit (0 or 1)
- uint8_t frame_ready;
} __attribute__((packed, aligned(64)));
struct apu_state {