From 08d3b5754af625f0385aa28b225e82704659eab9 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sat, 25 Jan 2014 21:32:07 +0000 Subject: WII: Another fix for Gamecube build. Corrected Disc Interface object. --- backends/fs/wii/wii-fs-factory.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backends/fs/wii/wii-fs-factory.cpp b/backends/fs/wii/wii-fs-factory.cpp index 3bebc2bed3..1c67ae4823 100644 --- a/backends/fs/wii/wii-fs-factory.cpp +++ b/backends/fs/wii/wii-fs-factory.cpp @@ -126,7 +126,11 @@ bool WiiFilesystemFactory::failedToMount(FileSystemType type) { } #ifdef USE_WII_DI -const DISC_INTERFACE* dvd = &__io_wiidvd; +#ifndef GAMECUBE + const DISC_INTERFACE* dvd = &__io_wiidvd; +#else + const DISC_INTERFACE* dvd = &__io_gcdvd; +#endif #endif void WiiFilesystemFactory::mount(FileSystemType type) { -- cgit v1.2.3