mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 18:49:18 +01:00
minor code corrections
This commit is contained in:
parent
7709f15025
commit
1b4aaf1ab2
@ -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" {
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user