Difference between revisions of "Libiso9660"
Jump to navigation
Jump to search
(←Created page with ''''libiso9960''' is a DVD devoptab included with libogc. With it, once a DVD is mounted, you can access a ISO9660 DVD filesystem using standard I/O functions under the prefix ...') |
Hallowizer (talk | contribs) m (Category) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase title}} | ||
'''libiso9960''' is a DVD devoptab included with libogc. With it, once a DVD is mounted, you can access a ISO9660 DVD filesystem using standard I/O functions under the prefix dvd:/. | '''libiso9960''' is a DVD devoptab included with libogc. With it, once a DVD is mounted, you can access a ISO9660 DVD filesystem using standard I/O functions under the prefix dvd:/. | ||
== Usage == | == Usage == | ||
− | |||
'''Add these includes:''' | '''Add these includes:''' | ||
− | |||
<source lang="cpp"> | <source lang="cpp"> | ||
#include <di/di.h> | #include <di/di.h> | ||
Line 11: | Line 10: | ||
'''Mount the DVD via the disc interface:''' | '''Mount the DVD via the disc interface:''' | ||
− | |||
<source lang="cpp"> | <source lang="cpp"> | ||
if(&__io_wiidvd->isInserted()) | if(&__io_wiidvd->isInserted()) | ||
Line 18: | Line 16: | ||
'''Unmount the filesystem:''' | '''Unmount the filesystem:''' | ||
− | |||
<source lang="cpp"> | <source lang="cpp"> | ||
if(!&__io_wiidvd->isInserted()) | if(!&__io_wiidvd->isInserted()) | ||
Line 25: | Line 22: | ||
== Applications that use libiso9660 == | == Applications that use libiso9660 == | ||
+ | *[[Snes9x GX]] | ||
+ | *[[FCE Ultra GX]] | ||
+ | *[[Visual Boy Advance GX]] | ||
+ | *[[MPlayer CE]] | ||
− | + | [[Category:Libraries]] | |
− | |||
− | |||
− |
Latest revision as of 20:14, 13 May 2021
libiso9960 is a DVD devoptab included with libogc. With it, once a DVD is mounted, you can access a ISO9660 DVD filesystem using standard I/O functions under the prefix dvd:/.
Usage
Add these includes:
#include <di/di.h>
#include <iso9660.h>
Mount the DVD via the disc interface:
if(&__io_wiidvd->isInserted())
ISO9660_Mount();
Unmount the filesystem:
if(!&__io_wiidvd->isInserted())
ISO9660_Unmount();