aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2014-12-20 02:53:04 +0200
committernotaz2014-12-20 02:59:02 +0200
commit1e1cccd9ef788b3582002283f6cb7e48db53677f (patch)
tree1b8f2d2fdce282afa154dd09cef6b2f909b1edaa
parent01394a7f6afd51681cf7ef2f5d55e607a53517f2 (diff)
downloadpcsx_rearmed-1e1cccd9ef788b3582002283f6cb7e48db53677f.tar.gz
pcsx_rearmed-1e1cccd9ef788b3582002283f6cb7e48db53677f.tar.bz2
pcsx_rearmed-1e1cccd9ef788b3582002283f6cb7e48db53677f.zip
libretro: minor fixes
- use more compatible clock setting on non-ARM - drop redundant SET_PERFORMANCE_LEVEL (check_system_specs() does it later)
-rw-r--r--frontend/libretro.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 4cd4e47..23c34ae 100644
--- a/frontend/libretro.c
+++ b/frontend/libretro.c
@@ -1183,7 +1183,7 @@ void retro_init(void)
const char *bios[] = { "scph1001", "scph5501", "scph7001" };
const char *dir;
char path[256];
- int i, ret, level;
+ int i, ret;
bool found_bios = false;
ret = emu_core_preinit();
@@ -1227,16 +1227,13 @@ void retro_init(void)
environ_cb(RETRO_ENVIRONMENT_SET_MESSAGE, (void*)&msg);
}
- level = 1;
- environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level);
-
environ_cb(RETRO_ENVIRONMENT_GET_CAN_DUPE, &vout_can_dupe);
environ_cb(RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE, &disk_control);
/* 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__
+#if !defined(__arm__) || defined(__ARM_ARCH_7A__)
cycle_multiplier = 175;
#else
cycle_multiplier = 200;