X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fpcnt.h;h=3cf2925e49229411c23fef27904e505a34244345;hp=57bc88adff36851d82ef8f271bb49195fad6f6fe;hb=d352cde27e89b1be21bf8f88c3ca79e0eb497165;hpb=14dffdb7a0457fc647103deafa5f1cac12e888fb diff --git a/frontend/pcnt.h b/frontend/pcnt.h index 57bc88ad..3cf2925e 100644 --- a/frontend/pcnt.h +++ b/frontend/pcnt.h @@ -6,6 +6,8 @@ enum pcounters { PCNT_CNT }; +#ifdef PCNT + extern unsigned int pcounters[PCNT_CNT]; extern unsigned int pcounter_starts[PCNT_CNT]; @@ -50,3 +52,11 @@ static inline unsigned int pcnt_get(void) return val; } +#else + +#define pcnt_start(id) +#define pcnt_end(id) +#define pcnt_hook_plugins() +#define pcnt_print(fps) + +#endif