X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=frontend%2Flibretro.c;h=23c34ae5c92456655b4e8ebd444064b75ff01b84;hb=1e1cccd9ef788b3582002283f6cb7e48db53677f;hp=4cd4e47f19c0b488b0efce0c1778cde04d3d294d;hpb=01394a7f6afd51681cf7ef2f5d55e607a53517f2;p=pcsx_rearmed.git diff --git a/frontend/libretro.c b/frontend/libretro.c index 4cd4e47f..23c34ae5 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;