Changes

5 bytes added ,  16:32, 19 March 2008
m
fixed a few typos i made
Line 13: Line 13:     
  DVDLowRead (Only works after DVDOpenPartition)
 
  DVDLowRead (Only works after DVDOpenPartition)
  ((u32*)inbuf)[0x00] = 0xD0000000
+
  ((u32*)inbuf)[0x00] = 0xD0000000;
 
  ((u32*)inbuf)[0x01] = size;
 
  ((u32*)inbuf)[0x01] = size;
 
  ((u32*)inbuf)[0x02] = offset;
 
  ((u32*)inbuf)[0x02] = offset;
Line 19: Line 19:     
  DVDLowUnencryptedRead
 
  DVDLowUnencryptedRead
  ((u32*)inbuf)[0x00] = 0x8D000000
+
  ((u32*)inbuf)[0x00] = 0x8D000000;
 
  ((u32*)inbuf)[0x01] = size;
 
  ((u32*)inbuf)[0x01] = size;
 
  ((u32*)inbuf)[0x02] = offset;
 
  ((u32*)inbuf)[0x02] = offset;
Line 25: Line 25:     
  DVDLowStopMotor
 
  DVDLowStopMotor
  ((u32*)inbuf)[0x00] = 0xE3000000
+
  ((u32*)inbuf)[0x00] = 0xE3000000;
 
  ((u32*)inbuf)[0x01] = 0; // optional, unknown
 
  ((u32*)inbuf)[0x01] = 0; // optional, unknown
 
  ((u32*)inbuf)[0x02] = 0; // optional, unknown
 
  ((u32*)inbuf)[0x02] = 0; // optional, unknown
Line 31: Line 31:     
  DVDLowReset
 
  DVDLowReset
  ((u32*)inbuf)[0x00] = 0x8A000000
+
  ((u32*)inbuf)[0x00] = 0x8A000000;
 
  ((u32*)inbuf)[0x01] = 0x80000000; // not sure about that
 
  ((u32*)inbuf)[0x01] = 0x80000000; // not sure about that
 
  ios_ioctl( di_fd, inbuf[0x00], inbuf, 0x20, outbuf, 0x20);
 
  ios_ioctl( di_fd, inbuf[0x00], inbuf, 0x20, outbuf, 0x20);
    
  DVDLowReadDiskID
 
  DVDLowReadDiskID
  ((u32*)inbuf)[0x00] = 0x70000000
+
  ((u32*)inbuf)[0x00] = 0x70000000;
 
  ios_ioctl( di_fd, inbuf[0x00], inbuf, 0x20, dst, 0x20);
 
  ios_ioctl( di_fd, inbuf[0x00], inbuf, 0x20, dst, 0x20);