summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-10-22 22:35:29 +0000
committerhrydgard <hrydgard@gmail.com>2008-10-22 22:35:29 +0000
commit4d169987c2f67652ffc30989407d1bc28a88cbdc (patch)
tree7e9a9a760c5bbc867470d301fb0110e2647d76ae /Source/Core/VideoCommon
parent4b2c7310b73d2263a46e9ed2f58ae72915d1e9e4 (diff)
Fix debug mode build, fix some profile stuff to not get compiled when profiling is off, cleaned a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@941 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Src/Profiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/Profiler.h b/Source/Core/VideoCommon/Src/Profiler.h
index 5cc8d55cd1..db7524bca6 100644
--- a/Source/Core/VideoCommon/Src/Profiler.h
+++ b/Source/Core/VideoCommon/Src/Profiler.h
@@ -48,6 +48,7 @@ void DVProfClear(); // clears all the profilers
#endif
#define DVSTARTPROFILE() DVProfileFunc _pf(__PRETTY_FUNCTION__);
+#define DVSTARTSUBPROFILE(name) DVProfileFunc _pf(name);
class DVProfileFunc
{
@@ -61,6 +62,7 @@ public:
#else
#define DVSTARTPROFILE()
+#define DVSTARTSUBPROFILE(name)
class DVProfileFunc
{