diff --git a/desmume/src/frontend/windows/main.cpp b/desmume/src/frontend/windows/main.cpp index e13549d64..73a423cff 100755 --- a/desmume/src/frontend/windows/main.cpp +++ b/desmume/src/frontend/windows/main.cpp @@ -2971,7 +2971,7 @@ void WavRecordTo(int wavmode) dir = Path::GetFileDirectoryPath(outFilename); path.setpath(path.AVI_FILES, dir); - WritePrivateProfileString(SECTION, SOUNDKEY, dir.c_str(), IniName); + WritePrivateProfileString(SECTION, AVIKEY, dir.c_str(), IniName); } NDS_UnPause();