From 910661f982384beb3cb31ac2da0c27b5564ffee8 Mon Sep 17 00:00:00 2001 From: SuuperW Date: Fri, 7 Sep 2018 16:24:02 -0500 Subject: [PATCH] (Windows) Switch Record WAV to use the same directory as Record AVI. --- desmume/src/frontend/windows/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/frontend/windows/main.cpp b/desmume/src/frontend/windows/main.cpp index b05ac3d50..e13549d64 100755 --- a/desmume/src/frontend/windows/main.cpp +++ b/desmume/src/frontend/windows/main.cpp @@ -2952,7 +2952,7 @@ void WavRecordTo(int wavmode) ofn.lpstrDefExt = "wav"; ofn.lpstrTitle = "Save WAV as"; - std::string dir = path.getpath(path.SOUNDS); + std::string dir = path.getpath(path.AVI_FILES); ofn.lpstrInitialDir = dir.c_str(); path.formatname(outFilename); ofn.lpstrFile = outFilename; @@ -2970,7 +2970,7 @@ void WavRecordTo(int wavmode) WAV_Begin(outFilename, (WAVMode)wavmode); dir = Path::GetFileDirectoryPath(outFilename); - path.setpath(path.SOUNDS, dir); + path.setpath(path.AVI_FILES, dir); WritePrivateProfileString(SECTION, SOUNDKEY, dir.c_str(), IniName); }