aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.c
diff options
context:
space:
mode:
authornotaz2011-12-05 00:11:01 +0200
committernotaz2011-12-05 01:08:36 +0200
commit24de2dd4dbdd50e44c91c40ebbc7d59ee1c0ac9b (patch)
tree91bba897e5778752e21366768661ae9cfe0494c3 /frontend/plugin_lib.c
parentddbaf678c49d33cf60f1eac5069e3275baa2c685 (diff)
downloadpcsx_rearmed-24de2dd4dbdd50e44c91c40ebbc7d59ee1c0ac9b.tar.gz
pcsx_rearmed-24de2dd4dbdd50e44c91c40ebbc7d59ee1c0ac9b.tar.bz2
pcsx_rearmed-24de2dd4dbdd50e44c91c40ebbc7d59ee1c0ac9b.zip
remove gpu vblank callbacks
we do it in core now
Diffstat (limited to 'frontend/plugin_lib.c')
-rw-r--r--frontend/plugin_lib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index 9003ff8..e93c12f 100644
--- a/frontend/plugin_lib.c
+++ b/frontend/plugin_lib.c
@@ -475,8 +475,12 @@ void pl_start_watchdog(void)
void pl_init(void)
{
+ extern unsigned int hSyncCount; // from psxcounters
+
pl_vout_w = pl_vout_h = 256;
pl_vout_bpp = 16;
tsdev = pl_gun_ts_init();
+
+ pl_rearmed_cbs.gpu_hcnt = &hSyncCount;
}