YuriSizuku / OnscripterYuri

An enhancement ONScripter project porting to many platforms, especially web.
GNU General Public License v2.0
310 stars 18 forks source link

libretro: Fix a crash from audio #35

Closed iyzsong closed 1 week ago

iyzsong commented 1 week ago

Hello I find the libretro core could crash when produce the audio, SDL_LockAudioDevice seems fix it. Also I removed apply_variables in retro_run, since the only options can be changed durning runtime are the mouse ones, which I think is not very useful, remove it so code is more clear, and all options changes are required a restart to take effects.

Thanks.

YuriSizuku commented 1 week ago

Thank you for fixing this problem.