aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/gpu.c
diff options
context:
space:
mode:
authornotaz2011-08-11 18:26:28 +0300
committernotaz2011-08-13 00:56:40 +0300
commit76f7048eff4f5357df048268e40b5bc6b9387fe5 (patch)
tree18b0a7cd4224b3e81f365558775bf4a2106200b3 /plugins/dfxvideo/gpu.c
parent4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae (diff)
downloadpcsx_rearmed-76f7048eff4f5357df048268e40b5bc6b9387fe5.tar.gz
pcsx_rearmed-76f7048eff4f5357df048268e40b5bc6b9387fe5.tar.bz2
pcsx_rearmed-76f7048eff4f5357df048268e40b5bc6b9387fe5.zip
frontend: refactor plugin_lib for maemo
should give them proper frame limiter, frameskip and also lightgun support, maybe.
Diffstat (limited to 'plugins/dfxvideo/gpu.c')
-rw-r--r--plugins/dfxvideo/gpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/dfxvideo/gpu.c b/plugins/dfxvideo/gpu.c
index a2b4f92..6af6447 100644
--- a/plugins/dfxvideo/gpu.c
+++ b/plugins/dfxvideo/gpu.c
@@ -1139,6 +1139,8 @@ void CALLBACK GPUvBlank(int val)
// rearmed thing
#include "../../frontend/plugin_lib.h"
+const struct rearmed_cbs *rcbs;
+
void GPUrearmedCallbacks(const struct rearmed_cbs *cbs)
{
// sync config
@@ -1150,4 +1152,5 @@ void GPUrearmedCallbacks(const struct rearmed_cbs *cbs)
skip_advice = &cbs->fskip_advice;
fps_skip = 100.0f;
+ rcbs = cbs;
}