aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem_gfx.cpp
diff options
context:
space:
mode:
authorAndre Heider2009-01-19 15:11:18 +0000
committerAndre Heider2009-01-19 15:11:18 +0000
commit57e6cb4c8a1d2e8345fa53c70b21ae2fd0bba776 (patch)
tree12ad2fe164e0e30dafa06bd90435d48ece608166 /backends/platform/wii/osystem_gfx.cpp
parent2a22b9bcc6758d589ffe6af361ee53e8c1a6841e (diff)
downloadscummvm-rg350-57e6cb4c8a1d2e8345fa53c70b21ae2fd0bba776.tar.gz
scummvm-rg350-57e6cb4c8a1d2e8345fa53c70b21ae2fd0bba776.tar.bz2
scummvm-rg350-57e6cb4c8a1d2e8345fa53c70b21ae2fd0bba776.zip
Makefile cleanup with additional comments. Added DEBUG_WII_MEMSTATS for memory statistics and splitted existing DEBUG_* tunables.
svn-id: r35920
Diffstat (limited to 'backends/platform/wii/osystem_gfx.cpp')
-rw-r--r--backends/platform/wii/osystem_gfx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index 6402ce9a35..0196c95f4c 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -275,6 +275,10 @@ void OSystem_Wii::updateScreen() {
if (now - _lastScreenUpdate < 1000 / MAX_FPS)
return;
+#ifdef DEBUG_WII_MEMSTATS
+ wii_memstats();
+#endif
+
_lastScreenUpdate = now;
h = 0;