minor code corrections

This commit is contained in:
dborth 2008-10-15 18:39:09 +00:00
parent 7709f15025
commit 1b4aaf1ab2
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <malloc.h>
#ifdef WII_DVD #ifdef WII_DVD
extern "C" { extern "C" {

View File

@ -189,7 +189,7 @@ UnZipBuffer (unsigned char *outbuffer, int method)
case METHOD_DVD: case METHOD_DVD:
readoffset += ZIPCHUNK; readoffset += ZIPCHUNK;
dvd_read (readbuffer, ZIPCHUNK, discoffset+readoffset); dvd_safe_read (readbuffer, ZIPCHUNK, discoffset+readoffset);
break; break;
case METHOD_SMB: case METHOD_SMB: