From c86b9064df021a8d619fd0e9fd4d3525cd4a1373 Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Mon, 15 Mar 2021 02:25:02 +0100 Subject: Move palettes around to simplify MIPS dynarec Will move also OAM structures to gain a few cycles per load/store. Loads can also be optimized for an extra instruction per access. --- cpu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpu.c') diff --git a/cpu.c b/cpu.c index a15b432..6b999a5 100644 --- a/cpu.c +++ b/cpu.c @@ -1652,6 +1652,8 @@ void raise_interrupt(irq_type irq_raised) #ifndef HAVE_DYNAREC u8 *memory_map_read [8 * 1024]; u8 *memory_map_write[8 * 1024]; +u16 palette_ram[512]; +u16 palette_ram_converted[512]; #endif void execute_arm(u32 cycles) -- cgit v1.2.3