mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
fixed 16-bit PCM decoder.
This commit is contained in:
parent
6b8a402ce2
commit
4543d06841
@ -252,7 +252,7 @@ namespace GameRes.Formats.Entis
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
int ptrSrcBuf = 0; // (SWORD*) m_ptrBuffer4;
|
int ptrSrcBuf = 0; // (SWORD*) m_ptrBuffer4;
|
||||||
int nStep = m_mioih.ChannelCount;
|
int nStep = m_mioih.ChannelCount*sizeof(short);
|
||||||
for (int i = 0; i < m_mioih.ChannelCount; i++)
|
for (int i = 0; i < m_mioih.ChannelCount; i++)
|
||||||
{
|
{
|
||||||
int ptrDstBuf = wave_pos + i*sizeof(short); // (SWORD*) ptrWaveBuf;
|
int ptrDstBuf = wave_pos + i*sizeof(short); // (SWORD*) ptrWaveBuf;
|
||||||
|
Loading…
Reference in New Issue
Block a user