aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform')
-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':