From: twinaphex Date: Mon, 23 Jun 2014 13:07:47 +0000 (+0200) Subject: Add performance level X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f832b7f195349e339d5db14d7ba43002a753b60;p=picodrive.git Add performance level --- diff --git a/platform/libretro/libretro.c b/platform/libretro/libretro.c index 662254e2..3179c091 100644 --- a/platform/libretro/libretro.c +++ b/platform/libretro/libretro.c @@ -899,6 +899,13 @@ void retro_run(void) vout_width, vout_height, vout_width * 2); } +static void check_system_specs(void) +{ + /* TODO - set different performance level for 32X - 6 for ARM dynarec, higher for interpreter core */ + unsigned level = 5; + environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level); +} + void retro_init(void) { struct retro_log_callback log;