From af3dd709382b1462780e196dc3b866ff36975651 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sat, 14 Aug 2010 11:01:00 +0000 Subject: [PATCH] WII: Fix compilation of the GameCube port. svn-id: r52089 --- backends/fs/wii/wii-fs-factory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backends/fs/wii/wii-fs-factory.cpp b/backends/fs/wii/wii-fs-factory.cpp index cf71a110673..2e8051029d8 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();