aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorAndre Heider2010-04-30 16:49:57 +0000
committerAndre Heider2010-04-30 16:49:57 +0000
commiteb429872d855c95d9979a76d43a2fc5d2abcfe9e (patch)
tree0dd3f740c0e6b4567270c547cb598f8bb8a7cf8b /backends
parentbeba3bf8a47a4c2480eb9d20ebc0c7dab5577348 (diff)
downloadscummvm-rg350-eb429872d855c95d9979a76d43a2fc5d2abcfe9e.tar.gz
scummvm-rg350-eb429872d855c95d9979a76d43a2fc5d2abcfe9e.tar.bz2
scummvm-rg350-eb429872d855c95d9979a76d43a2fc5d2abcfe9e.zip
Fixed warnings when building a GC binary.
svn-id: r48877
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/wii/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/wii/options.cpp b/backends/platform/wii/options.cpp
index 729fb6cb41..a8f3552313 100644
--- a/backends/platform/wii/options.cpp
+++ b/backends/platform/wii/options.cpp
@@ -131,9 +131,11 @@ WiiOptionsDialog::~WiiOptionsDialog() {
}
void WiiOptionsDialog::handleTickle() {
+#ifndef GAMECUBE
WiiFilesystemFactory &fsf = WiiFilesystemFactory::instance();
int tab = _tab->getActiveTab();
+#endif
#ifdef USE_WII_DI
if (tab == _tabDVD) {
@@ -194,7 +196,9 @@ void WiiOptionsDialog::handleTickle() {
void WiiOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd,
uint32 data) {
+#ifndef GAMECUBE
WiiFilesystemFactory &fsf = WiiFilesystemFactory::instance();
+#endif
switch (cmd) {
case 'x':