mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Make sure the audio dump directory exists when dumping audio. Otherwise a segmentation fault ensues after several panic alerts.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7135 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -57,6 +57,7 @@ namespace AudioCommon
|
||||
if (ac_Config.m_DumpAudio) {
|
||||
char audio_file_name[255];
|
||||
snprintf(audio_file_name, 255, "%saudiodump.wav", File::GetUserPath(D_DUMPAUDIO_IDX));
|
||||
File::CreateFullPath(audio_file_name);
|
||||
mixer->StartLogAudio(audio_file_name);
|
||||
//soundStream->StartLogAudio(audio_file_name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user