remove gpu vblank callbacks
[pcsx_rearmed.git] / frontend / plugin.c
index 2492f4a..a5f9830 100644 (file)
@@ -168,7 +168,7 @@ static const struct {
        DIRECT_GPU(GPUwriteDataMem),
        DIRECT_GPU(GPUdmaChain),
        DIRECT_GPU(GPUfreeze),
-       DIRECT_GPU(GPUvBlank),
+//     DIRECT_GPU(GPUvBlank), // unused
        DIRECT_GPU(GPUrearmedCallbacks),
 
        DUMMY_GPU(GPUdisplayText),
@@ -292,4 +292,15 @@ void pcnt_hook_plugins(void)
        hook_it(SPU_playCDDAchannel);
 }
 
+// hooked into recompiler
+void pcnt_gte_start(int op)
+{
+       pcnt_start(PCNT_GTE);
+}
+
+void pcnt_gte_end(int op)
+{
+       pcnt_end(PCNT_GTE);
+}
+
 #endif