X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin.c;h=bcf3885aaedbea6bc3c637b2c0bae31dbb2b745d;hp=d6aca8a53c7c1b1f52bf24649db6b7056a2416cb;hb=fa9cfe0a7ff390f15bfdc6add7e57841173d1954;hpb=14dffdb7a0457fc647103deafa5f1cac12e888fb diff --git a/frontend/plugin.c b/frontend/plugin.c index d6aca8a5..bcf3885a 100644 --- a/frontend/plugin.c +++ b/frontend/plugin.c @@ -199,6 +199,8 @@ void *plugin_link(enum builtint_plugins_e id, const char *sym) return NULL; } +#ifdef PCNT + /* basic profile stuff */ #include "pcnt.h" @@ -253,6 +255,9 @@ pc_hook_func (SPU_playCDDAchannel, (short *a0, int a1), (a0, a1), P void pcnt_hook_plugins(void) { + /* test it first */ + pcnt_get(); + hook_it(GPU_writeStatus); hook_it(GPU_writeData); hook_it(GPU_writeDataMem); @@ -272,3 +277,4 @@ void pcnt_hook_plugins(void) hook_it(SPU_playCDDAchannel); } +#endif