notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add OMAP layer, also preliminary menu, hud and input support
[pcsx_rearmed.git]
/
frontend
/
pcnt.h
diff --git
a/frontend/pcnt.h
b/frontend/pcnt.h
index
57bc88a
..
3cf2925
100644
(file)
--- 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