X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro.c;h=aea17e81501041111eb667ea4082bd3b37536b88;hb=af9db9c89737cb8c4269118c7f0f065b7b68cf8c;hp=51c0a6e5da129b5ccb4e0975eb57c095f37f7f06;hpb=291224374dd130c5cbee87ccce40a1cd0d9eb968;p=pcsx_rearmed.git diff --git a/frontend/libretro.c b/frontend/libretro.c index 51c0a6e5..aea17e81 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -974,6 +974,12 @@ static bool find_any_bios(const char *dirpath, char *path, size_t path_size) #define find_any_bios(...) false #endif +static void check_system_specs(void) +{ + unsigned level = 6; + environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level); +} + void retro_init(void) { const char *bios[] = { "scph1001", "scph5501", "scph7001" }; @@ -1049,6 +1055,7 @@ void retro_init(void) SaveFuncs.close = save_close; update_variables(false); + check_system_specs(); } void retro_deinit(void)