notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05689b3
)
Add performance level
author
twinaphex
<libretro@gmail.com>
Mon, 23 Jun 2014 13:07:47 +0000
(15:07 +0200)
committer
twinaphex
<libretro@gmail.com>
Mon, 23 Jun 2014 13:07:47 +0000
(15:07 +0200)
platform/libretro/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/libretro/libretro.c
b/platform/libretro/libretro.c
index
662254e
..
3179c09
100644
(file)
--- 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;