mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 01:07:22 +00:00
PalmOS sound API cannot access globals data, StackLock constructor use g_system
svn-id: r11742
This commit is contained in:
parent
26fdb102bb
commit
3644176c43
@ -276,7 +276,9 @@ int SoundMixer::playVorbis(PlayingSoundHandle *handle, OggVorbis_File *ov_file,
|
||||
#endif
|
||||
|
||||
void SoundMixer::mix(int16 *buf, uint len) {
|
||||
#ifndef __PALM_OS__
|
||||
Common::StackLock lock(_mutex);
|
||||
#endif
|
||||
|
||||
if (_premixProc && !_paused) {
|
||||
_premixProc(_premixParam, buf, len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user