mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-03-26 05:42:49 +01:00
final fixes for UIQ3
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@573 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
@@ -95,8 +95,10 @@ void CGameAudioMS::ConstructL()
|
||||
iBufferSize *= bufferedFrames;
|
||||
for (TInt i=0 ; i<KSoundBuffers ; i++)
|
||||
{
|
||||
iSoundBuffers[i] = HBufC8::NewL(iBufferSize);
|
||||
iSoundBuffers[i]->Des().FillZ (iBufferSize);
|
||||
// it seems .SetLength(max) throws USER:23 panic,
|
||||
// so make them a bit larger
|
||||
iSoundBuffers[i] = HBufC8::NewL(iBufferSize+4);
|
||||
iSoundBuffers[i]->Des().FillZ (iBufferSize+4);
|
||||
}
|
||||
|
||||
iCurrentBuffer = 0;
|
||||
|
||||
Reference in New Issue
Block a user