Fix a couple of warnings.
This commit is contained in:
parent
7d0da6ca97
commit
1ffc0bc78a
|
@ -159,7 +159,7 @@ int SPU_Init(int coreid, int buffersize)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int i = 0; i < 8; i++)
|
for(i = 0; i < 8; i++)
|
||||||
{
|
{
|
||||||
for(j = 0; j < 89; j++)
|
for(j = 0; j < 89; j++)
|
||||||
{
|
{
|
||||||
|
@ -1350,10 +1350,11 @@ void SNDFileDeInit()
|
||||||
void SNDFileUpdateAudio(s16 *buffer, u32 num_samples)
|
void SNDFileUpdateAudio(s16 *buffer, u32 num_samples)
|
||||||
{
|
{
|
||||||
size_t elems_written;
|
size_t elems_written;
|
||||||
if (spufp)
|
if (spufp) {
|
||||||
elems_written = fwrite((void *)buffer, num_samples*2, 2, spufp);
|
elems_written = fwrite((void *)buffer, num_samples*2, 2, spufp);
|
||||||
INFO("%i written\n", elems_written);
|
INFO("%i written\n", elems_written);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue