X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=frontend%2Fplugin.c;h=7b0d301195977c1fc3b14d7640f0448b258b5b74;hb=19e57cbf170d1ce49f00097f3cc3a4ed96d77374;hp=0d244fa7649486ad2550437b9190a5331dfea2d7;hpb=6c9a982ac534aef9b19b9e7d9033516a0f13485a;p=pcsx_rearmed.git diff --git a/frontend/plugin.c b/frontend/plugin.c index 0d244fa7..7b0d3011 100644 --- a/frontend/plugin.c +++ b/frontend/plugin.c @@ -76,6 +76,7 @@ extern long GPUdmaChain(uint32_t *,uint32_t); extern void GPUupdateLace(void); extern long GPUfreeze(uint32_t, void *); extern void GPUvBlank(int, uint32_t *); +extern void GPUrearmedCallbacks(const struct rearmed_cbs *cbs); #define DUMMY(id, name) \ @@ -168,6 +169,7 @@ static const struct { DIRECT_GPU(GPUdmaChain), DIRECT_GPU(GPUfreeze), DIRECT_GPU(GPUvBlank), + DIRECT_GPU(GPUrearmedCallbacks), DUMMY_GPU(GPUdisplayText), /* @@ -269,8 +271,7 @@ pc_hook_func (SPU_playCDDAchannel, (short *a0, int a1), (a0, a1), P void pcnt_hook_plugins(void) { - /* test it first */ - pcnt_get(); + pcnt_init(); hook_it(GPU_writeStatus); hook_it(GPU_writeData);