common|cdvdgigaherz: Fix API sign mismatch

The typedef and function declaration don't quite match.
This commit is contained in:
Jonathan Li 2016-11-10 02:46:56 +00:00 committed by Gregory Hainaut
parent 0d275868a5
commit 008fea5d89
2 changed files with 2 additions and 2 deletions

View File

@ -437,7 +437,7 @@ void CALLBACK CDVDnewDiskCB(void (*callback)());
// new funcs
// read a track directly
s32 CALLBACK CDVDreadSector(u8 *buffer, s32 lsn, int mode);
s32 CALLBACK CDVDreadSector(u8 *buffer, u32 lsn, int mode);
// improved getBuffer
s32 CALLBACK CDVDgetBuffer2(u8 *buffer);

View File

@ -238,7 +238,7 @@ EXPORT s32 CALLBACK CDVDgetDualInfo(s32 *dualType, u32 *_layer1start)
int lastReadInNewDiskCB = 0;
char directReadSectorBuffer[2448];
EXPORT s32 CALLBACK CDVDreadSector(u8 *buffer, s32 lsn, int mode)
EXPORT s32 CALLBACK CDVDreadSector(u8 *buffer, u32 lsn, int mode)
{
return cdvdDirectReadSector(lsn, mode, (char *)buffer);
}