diff --git a/gpsp_config.h b/gpsp_config.h index 50a730a..3aedc2e 100644 --- a/gpsp_config.h +++ b/gpsp_config.h @@ -11,6 +11,9 @@ #if defined(SMALL_TRANSLATION_CACHE) #define ROM_TRANSLATION_CACHE_SIZE (1024 * 1024 * 2) #define RAM_TRANSLATION_CACHE_SIZE (1024 * 384) +#elif defined(N64) + #define ROM_TRANSLATION_CACHE_SIZE (1024 * 1024 * 3) + #define RAM_TRANSLATION_CACHE_SIZE (1024 * 512) #else #define ROM_TRANSLATION_CACHE_SIZE (1024 * 1024 * 10) #define RAM_TRANSLATION_CACHE_SIZE (1024 * 512) diff --git a/mips/mips_emit.h b/mips/mips_emit.h index d464604..c023dc1 100644 --- a/mips/mips_emit.h +++ b/mips/mips_emit.h @@ -2753,7 +2753,7 @@ static void emit_phand( mips_emit_lw(reg_temp, reg_temp, tbloff2); // Get opcode from 2nd table mips_emit_sw(reg_temp, mips_reg_ra, -8); // Patch instruction! - #if defined(PSP) + #if defined(PSP) // || defined(N64) ??? mips_emit_cache(0x1A, mips_reg_ra, -8); mips_emit_jr(reg_rv); // Jump directly to target for speed mips_emit_cache(0x08, mips_reg_ra, -8);