aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();