notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ed243
)
libretro: Set performance level
author
twinaphex
<libretro@gmail.com>
Mon, 23 Jun 2014 13:02:13 +0000
(15:02 +0200)
committer
notaz
<notasas@gmail.com>
Sat, 20 Dec 2014 00:57:24 +0000
(
02:57
+0200)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
51c0a6e
..
aea17e8
100644
(file)
--- 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)