From 2f832b7f195349e339d5db14d7ba43002a753b60 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 23 Jun 2014 15:07:47 +0200 Subject: [PATCH] Add performance level --- platform/libretro/libretro.c | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 2.39.5