diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-05-27 15:03:30 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-05-27 15:03:30 +0200 |
| commit | 7cca3bdbec289328b537c8256b43dcfedc5d56b8 (patch) | |
| tree | 181c22764d3d881ccd41d5c0282cd364d3f5197d /mknes.h | |
| parent | a8e0c141b0184d629504b9f0ee8dbc4fefb90934 (diff) | |
renaming
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; |
