partially revert c4052f4d79cf
authornotaz <notasas@gmail.com>
Tue, 20 Sep 2016 23:21:27 +0000 (02:21 +0300)
committernotaz <notasas@gmail.com>
Tue, 20 Sep 2016 23:21:27 +0000 (02:21 +0300)
See github issue #74 for details.

libpcsxcore/new_dynarec/assem_arm.c
libpcsxcore/new_dynarec/assem_arm.h

index 3cc3737..708c8ae 100644 (file)
@@ -30,9 +30,7 @@
 #endif
 #include "arm_features.h"
 
-#ifdef VITA
-char* translation_cache = 0;
-#elif !BASE_ADDR_FIXED
+#if !BASE_ADDR_FIXED
 char translation_cache[1 << TARGET_SIZE_2] __attribute__((aligned(4096)));
 #endif
 
index da4144d..2254638 100644 (file)
@@ -64,10 +64,6 @@ extern char *invc_ptr;
 // "round" address helpful for debug
 #define BASE_ADDR 0x1000000
 #else
-#if defined(VITA)
-extern char* translation_cache;
-#else
 extern char translation_cache[1 << TARGET_SIZE_2];
-#endif
 #define BASE_ADDR (u_int)translation_cache
 #endif