From 65bd5b565c542ea5794b95524501cc4c35a2416c Mon Sep 17 00:00:00 2001 From: kongfl888 Date: Sat, 10 Jun 2017 10:47:23 +0800 Subject: [PATCH] winport: fix the screenshot type is not saved. --- desmume/src/frontend/windows/pathsettings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desmume/src/frontend/windows/pathsettings.cpp b/desmume/src/frontend/windows/pathsettings.cpp index 172f6b6fe..23b69e5ed 100644 --- a/desmume/src/frontend/windows/pathsettings.cpp +++ b/desmume/src/frontend/windows/pathsettings.cpp @@ -116,6 +116,7 @@ void WritePathSettings() WritePrivateProfileString(SECTION, FIRMWAREKEY, path.pathToFirmware, IniName); WritePrivateProfileString(SECTION, LUAKEY, path.pathToLua, IniName); + WritePrivateProfileInt(SECTION, DEFAULTFORMATKEY, path.currentimageformat, IniName); WritePrivateProfileString(SECTION, FORMATKEY, path.screenshotFormat, IniName); WritePrivateProfileInt(SECTION, LASTVISITKEY, path.savelastromvisit, IniName);