Closed vanfanel closed 3 years ago
Problem probably lies within RA.
1.7.5 826c77d523 2018-10-02 GOOD 1.7.6 9750719074 2019-02-03 BAD
I think this would work but haven't tested.
void retro_unload_game(void)
{
// Workaround a crash on Windows & Android because the callbacks are invoked after the DLL/SO was unloaded
struct retro_audio_callback cb = { nullptr, nullptr };
use_audio_cb = environ_cb(RETRO_ENVIRONMENT_SET_AUDIO_CALLBACK, &cb);
game.reset();
}
@SimpleTease Would be worthwhile if you could find a fix on the RetroArch side. There are not that many cores yet implementing the audio callback so its possible this was overlooked.
On win x64 with xaudio there's no audio at all and bringing the menu up with F1 corrupts everything and crash. with dsound it's just an exit crash.
It was fine around RA 1.7.5.
DSound doesn't give me any problems. XAudio has no sound and generates heavy RA corruption (missing assets, depth problems, no playlist updates, bad hotkeys, exit crash). I haven't traced back to 1.7.5 but it'll be interesting to bisect the problem commit(s).
I did test the core without any callbacks and XAudio behaved okay. Having a non-multithreaded core option might be handy as a fallback. Still I'll see where my adventures take me.
I've identified a list of problems.
Core:
Frontend:
Pause Content When Menu is Active
is ON
.OK, with this PR merged now, what's the current status of this issue?
Hi there,
This core segfaults badly when closed. It can be either by closing the core, or trying to load another core from the RA menu.