From: twinaphex Date: Mon, 23 Jun 2014 13:02:13 +0000 (+0200) Subject: Set performance level X-Git-Tag: r24l~907 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=496d5596907024138ae72cda9eed05c92a697d18;p=pcsx_rearmed.git Set performance level --- diff --git a/frontend/libretro.c b/frontend/libretro.c index b8dc36dd..c7c14c0a 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)