aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorAndre Heider2010-08-14 11:01:00 +0000
committerAndre Heider2010-08-14 11:01:00 +0000
commitaf3dd709382b1462780e196dc3b866ff36975651 (patch)
tree12f933db5ea88ab4764eb16b42765d8ad84b9af9 /backends
parent5731bce2e323fc594165592222bb98ce1793b357 (diff)
downloadscummvm-rg350-af3dd709382b1462780e196dc3b866ff36975651.tar.gz
scummvm-rg350-af3dd709382b1462780e196dc3b866ff36975651.tar.bz2
scummvm-rg350-af3dd709382b1462780e196dc3b866ff36975651.zip
WII: Fix compilation of the GameCube port.
svn-id: r52089
Diffstat (limited to 'backends')
-rw-r--r--backends/fs/wii/wii-fs-factory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/fs/wii/wii-fs-factory.cpp b/backends/fs/wii/wii-fs-factory.cpp
index cf71a11067..2e8051029d 100644
--- a/backends/fs/wii/wii-fs-factory.cpp
+++ b/backends/fs/wii/wii-fs-factory.cpp
@@ -72,8 +72,10 @@ void WiiFilesystemFactory::asyncInit() {
void WiiFilesystemFactory::asyncDeinit() {
#ifdef USE_WII_DI
umount(kDVD);
+#ifndef GAMECUBE
DI_Close();
#endif
+#endif
#ifdef USE_WII_SMB
umount(kSMB);
net_deinit();