In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Libiso9660"

From WiiBrew
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 ...')
 
m (lowercase title)
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]]
* [[Snes9x GX]]
+
*[[FCE Ultra GX]]
* [[FCE Ultra GX]]
+
*[[Visual Boy Advance GX]]
* [[Visual Boy Advance GX]]
+
*[[MPlayer CE]]
* [[MPlayer CE]]
 

Revision as of 19:09, 1 November 2009

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();

Applications that use libiso9660