summaryrefslogtreecommitdiff
path: root/cpu.h
diff options
context:
space:
mode:
authoraliaspider2015-04-16 18:20:09 +0100
committeraliaspider2015-04-16 18:20:09 +0100
commit94385ee3dfcafa69b9dd31e377274c5e95bb0092 (patch)
tree0730d64bc7d786a9eedfa6ea4461823972567945 /cpu.h
parent69b5bfc05e5736bab2e8f78e4904f9028f0ab414 (diff)
downloadpicogpsp-94385ee3dfcafa69b9dd31e377274c5e95bb0092.tar.gz
picogpsp-94385ee3dfcafa69b9dd31e377274c5e95bb0092.tar.bz2
picogpsp-94385ee3dfcafa69b9dd31e377274c5e95bb0092.zip
(CTR/3DS) reduce the size of the preallocated memory used by the dynamic
recompiler.
Diffstat (limited to 'cpu.h')
-rw-r--r--cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu.h b/cpu.h
index 113292b..e4cdfb1 100644
--- a/cpu.h
+++ b/cpu.h
@@ -119,7 +119,7 @@ s32 translate_block_arm(u32 pc, translation_region_type translation_region,
s32 translate_block_thumb(u32 pc, translation_region_type translation_region,
u32 smc_enable);
-#ifdef PSP_BUILD
+#if defined(PSP_BUILD) || defined (_3DS)
#define ROM_TRANSLATION_CACHE_SIZE (1024 * 512 * 4)
#define RAM_TRANSLATION_CACHE_SIZE (1024 * 384)