mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
Fixed a crash when exiting, a regression from the latest music driver changes
svn-id: r40922
This commit is contained in:
parent
50157fbca9
commit
3e29b47ec3
@ -438,8 +438,10 @@ void sfx_exit(sfx_state_t *self) {
|
||||
player = 0;
|
||||
}
|
||||
|
||||
if (strcmp(player->name, "new") == 0)
|
||||
g_system->getMixer()->stopAll();
|
||||
// FIXME: player is deleted here by the code above, so this will crash.
|
||||
// Is that code needed?
|
||||
//if (strcmp(player->name, "new") == 0)
|
||||
// g_system->getMixer()->stopAll();
|
||||
|
||||
song_lib_free(self->songlib);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user