diff options
author | David Turner | 2014-01-21 12:23:56 -0800 |
---|---|---|
committer | David Turner | 2014-01-21 12:23:56 -0800 |
commit | b098b74e76e9758b797a302ac83a9b17efd3616c (patch) | |
tree | 26d8eef399b74f1764fa07c1602acce68ce95b9b /backends/fs/wii/wii-fs-factory.cpp | |
parent | 2e93f5aba21beedfba81f2e41601c2174e36d940 (diff) | |
parent | eff22cb43d22b0f47ac2bf5063916639a632705d (diff) | |
download | scummvm-rg350-b098b74e76e9758b797a302ac83a9b17efd3616c.tar.gz scummvm-rg350-b098b74e76e9758b797a302ac83a9b17efd3616c.tar.bz2 scummvm-rg350-b098b74e76e9758b797a302ac83a9b17efd3616c.zip |
Merge pull request #413 from AReim1982/master
WII: Implement changes needed by DevKitPPC R26 and later
Diffstat (limited to 'backends/fs/wii/wii-fs-factory.cpp')
-rw-r--r-- | backends/fs/wii/wii-fs-factory.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/fs/wii/wii-fs-factory.cpp b/backends/fs/wii/wii-fs-factory.cpp index 760e5316e7..987e7f56bf 100644 --- a/backends/fs/wii/wii-fs-factory.cpp +++ b/backends/fs/wii/wii-fs-factory.cpp @@ -125,6 +125,8 @@ bool WiiFilesystemFactory::failedToMount(FileSystemType type) { return false; } +const DISC_INTERFACE* dvd = &__io_wiidvd; + void WiiFilesystemFactory::mount(FileSystemType type) { switch (type) { case kDVD: @@ -133,7 +135,7 @@ void WiiFilesystemFactory::mount(FileSystemType type) { break; printf("mount dvd\n"); - if (ISO9660_Mount()) { + if (ISO9660_Mount("dvd", dvd)) { _dvdMounted = true; _dvdError = false; printf("ISO9660 mounted\n"); @@ -179,7 +181,7 @@ void WiiFilesystemFactory::umount(FileSystemType type) { printf("umount dvd\n"); - ISO9660_Unmount(); + ISO9660_Unmount("dvd:"); _dvdMounted = false; _dvdError = false; |