From 9f97113292b60d4530678e578d8fe65bb675db50 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Wed, 10 Dec 2014 00:20:41 +0100 Subject: fix compiler error: initializer element is not a compile-time constant --- arm/arm_emit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arm/arm_emit.h') diff --git a/arm/arm_emit.h b/arm/arm_emit.h index 587ad28..aa97ad4 100644 --- a/arm/arm_emit.h +++ b/arm/arm_emit.h @@ -639,9 +639,9 @@ u32 arm_disect_imm_32bit(u32 imm, u32 *stores, u32 *rotations) } \ } \ -u8 *last_rom_translation_ptr = rom_translation_cache; -u8 *last_ram_translation_ptr = ram_translation_cache; -u8 *last_bios_translation_ptr = bios_translation_cache; +u8 *last_rom_translation_ptr = NULL; +u8 *last_ram_translation_ptr = NULL; +u8 *last_bios_translation_ptr = NULL; #define translate_invalidate_dcache_one(which) \ if (which##_translation_ptr > last_##which##_translation_ptr) \ -- cgit v1.2.3