From 7cca3bdbec289328b537c8256b43dcfedc5d56b8 Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Tue, 27 May 2025 15:03:30 +0200 Subject: renaming --- mknes.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mknes.h') diff --git a/mknes.h b/mknes.h index c169140..27d4f6e 100644 --- a/mknes.h +++ b/mknes.h @@ -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; -- cgit v1.2.3