mirror of
https://github.com/libretro/Mesen.git
synced 2025-02-24 02:21:50 +00:00
NSF: Fixed deadlock that could happen when changing track
This commit is contained in:
parent
9d55043c16
commit
fc20c2019c
@ -419,9 +419,7 @@ void NsfMapper::InternalSelectTrack(uint8_t trackNumber, bool requestReset)
|
||||
void NsfMapper::SelectTrack(uint8_t trackNumber)
|
||||
{
|
||||
if(trackNumber < _nsfHeader.TotalSongs) {
|
||||
Console::Pause();
|
||||
InternalSelectTrack(trackNumber);
|
||||
Console::Resume();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user