diff options
Diffstat (limited to 'mknes.h')
| -rw-r--r-- | mknes.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -106,9 +106,8 @@ struct ines_state { struct nes_state { struct ppu_state ppu; - struct mapper_functions mapper; - // union mapper_data map; - char map[sizeof(union mapper_data)] __attribute__((aligned(64))); // NOTE(peter): Only way due to aliasing rules in the C standard. + struct mapper_functions mapper_function; + union mapper_data mapper_data; struct cpu_state cpu; struct ines_state ines; // struct apu_state apu; |
