mirror of https://github.com/PCSX2/pcsx2.git
cdvdGigaherz: Clean up warnings on MSVC
SectorConverters: convert variables to u8.
This commit is contained in:
parent
1bcb5e0cc1
commit
d69f2b6cc5
|
@ -42,11 +42,11 @@ int Convert<2352,2048>(char *dest, const char* psrc, int lsn)
|
|||
template<>
|
||||
int Convert<2048,2352>(char *dest, const char* psrc, int lsn)
|
||||
{
|
||||
int m = lsn / (75*60);
|
||||
int s = (lsn/75) % 60;
|
||||
int f = lsn%75;
|
||||
unsigned char header[16] = {
|
||||
0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00, m, s, f,0x02
|
||||
u8 m = lsn / (75*60);
|
||||
u8 s = (lsn/75) % 60;
|
||||
u8 f = lsn%75;
|
||||
u8 header[16] = {
|
||||
0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,m,s,f,0x02
|
||||
};
|
||||
|
||||
memcpy(dest,header,16);
|
||||
|
|
Loading…
Reference in New Issue