From: notaz Date: Mon, 10 Dec 2012 23:37:33 +0000 (+0200) Subject: libretro: set cycle_multiplier X-Git-Tag: r18~48 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ca2ec64779fee99d0fc347330a83ae5e982d282;p=pcsx_rearmed.git libretro: set cycle_multiplier --- diff --git a/frontend/libretro.c b/frontend/libretro.c index 4e509a0a..34316850 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -437,6 +437,15 @@ void retro_init(void) level = 1; environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level); + /* Set how much slower PSX CPU runs * 100 (so that 200 is 2 times) + * we have to do this because cache misses and some IO penalties + * are not emulated. Warning: changing this may break compatibility. */ +#ifdef __ARM_ARCH_7A__ + cycle_multiplier = 175; +#else + cycle_multiplier = 200; +#endif + McdDisable[0] = 0; McdDisable[1] = 1; init_memcard(Mcd1Data);