mirror of https://github.com/PCSX2/pcsx2.git
common|cdvdgigaherz: Fix API sign mismatch
The typedef and function declaration don't quite match.
This commit is contained in:
parent
0d275868a5
commit
008fea5d89
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue