diff options
Diffstat (limited to 'mknes.h')
| -rw-r--r-- | mknes.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -69,14 +69,14 @@ struct ppu_state { uint8_t palette; } __attribute__((packed)) sprites[8]; // 32 -> +40 - uint8_t input_strobe; // 76 - Control bit (0 or 1) - uint8_t input[2]; // 73 - Controller 1 & 2 - uint8_t input_latch[2]; // 74 - Latched inputs after strobe - uint8_t input_bit[2]; // 75 - Current bit position being shifted out - uint8_t frame_ready; // 77 - uint8_t sprite_zero_in_range; // 78 - Boolean: is sprite 0 in range (will always be slot 0 if true) - - uint8_t palette[32]; // 79 + uint8_t input_strobe; // 73 - Control bit (0 or 1) + uint8_t input[2]; // 74 - Controller 1 & 2 + uint8_t input_latch[2]; // 76 - Latched inputs after strobe + uint8_t input_bit[2]; // 78 - Current bit position being shifted out + uint8_t frame_ready; // 80 + uint8_t sprite_zero_in_range; // 81 - Boolean: is sprite 0 in range (will always be slot 0 if true) + + uint8_t palette[32]; // 82 // NOTE(peter): CACHELINE 5 uint8_t oam[256] __attribute__((aligned(64))); |
