aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai
diff options
context:
space:
mode:
authornotaz2011-08-11 18:26:28 +0300
committernotaz2011-08-13 00:56:40 +0300
commit76f7048eff4f5357df048268e40b5bc6b9387fe5 (patch)
tree18b0a7cd4224b3e81f365558775bf4a2106200b3 /plugins/gpu_unai
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/gpu_unai')
-rw-r--r--plugins/gpu_unai/gpu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/gpu_unai/gpu.cpp b/plugins/gpu_unai/gpu.cpp
index 9b0a0dc..3515814 100644
--- a/plugins/gpu_unai/gpu.cpp
+++ b/plugins/gpu_unai/gpu.cpp
@@ -901,7 +901,7 @@ static void blit(void)
old_res_horz = w0;
old_res_vert = h1;
old_rgb24 = (s16)isRGB24;
- screen_buf = cbs->pl_fbdev_set_mode(w0, h1, isRGB24 ? 24 : 16);
+ screen_buf = cbs->pl_vout_set_mode(w0, h1, isRGB24 ? 24 : 16);
}
dest = (u8 *)screen_buf;
@@ -927,7 +927,7 @@ static void blit(void)
}
}
- screen_buf = cbs->pl_fbdev_flip();
+ screen_buf = cbs->pl_vout_flip();
}
void GPU_updateLace(void)
@@ -951,14 +951,14 @@ void GPU_updateLace(void)
long GPUopen(unsigned long *, char *, char *)
{
- cbs->pl_fbdev_open();
- screen_buf = cbs->pl_fbdev_flip();
+ cbs->pl_vout_open();
+ screen_buf = cbs->pl_vout_flip();
return 0;
}
long GPUclose(void)
{
- cbs->pl_fbdev_close();
+ cbs->pl_vout_close();
return 0;
}