Archives: Stop sound before loading a new ROM - 7z ifiles can take a while to decompress which made the current sound buffer loop.
This commit is contained in:
parent
17fb20e235
commit
b4e412a7d5
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ void Console::Release()
|
|||
|
||||
void Console::Initialize(string romFilename, stringstream *filestream, string ipsFilename, int32_t archiveFileIndex)
|
||||
{
|
||||
SoundMixer::StopAudio();
|
||||
|
||||
MessageManager::SendNotification(ConsoleNotificationType::GameStopped);
|
||||
shared_ptr<BaseMapper> mapper = MapperFactory::InitializeFromFile(romFilename, filestream, ipsFilename, archiveFileIndex);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue