diff options
author | aliaspider | 2014-12-10 00:20:41 +0100 |
---|---|---|
committer | aliaspider | 2014-12-10 00:20:41 +0100 |
commit | 9f97113292b60d4530678e578d8fe65bb675db50 (patch) | |
tree | f583c7dbfe8ded67c6789eeecc2ea763aa6835ad /arm/arm_emit.h | |
parent | dee3a94edb31049e908cdba347edfbf0c6a654c8 (diff) | |
download | picogpsp-9f97113292b60d4530678e578d8fe65bb675db50.tar.gz picogpsp-9f97113292b60d4530678e578d8fe65bb675db50.tar.bz2 picogpsp-9f97113292b60d4530678e578d8fe65bb675db50.zip |
fix compiler error: initializer element is not a compile-time constant
Diffstat (limited to 'arm/arm_emit.h')
-rw-r--r-- | arm/arm_emit.h | 6 |
1 files changed, 3 insertions, 3 deletions
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) \ |