save video mode

This commit is contained in:
dborth 2009-04-27 07:49:46 +00:00
parent 71d928524e
commit 52e6039e15

View File

@ -135,6 +135,7 @@ preparePrefsData (int method)
createXMLSection("Video", "Video Settings"); createXMLSection("Video", "Video Settings");
createXMLSetting("videomode", "Video Mode", toStr(GCSettings.videomode));
createXMLSetting("ZoomLevel", "Zoom Level", FtoStr(GCSettings.ZoomLevel)); createXMLSetting("ZoomLevel", "Zoom Level", FtoStr(GCSettings.ZoomLevel));
createXMLSetting("render", "Video Filtering", toStr(GCSettings.render)); createXMLSetting("render", "Video Filtering", toStr(GCSettings.render));
createXMLSetting("scaling", "Aspect Ratio Correction", toStr(GCSettings.scaling)); createXMLSetting("scaling", "Aspect Ratio Correction", toStr(GCSettings.scaling));
@ -297,6 +298,7 @@ decodePrefsData (int method)
// Video Settings // Video Settings
loadXMLSetting(&GCSettings.videomode, "videomode");
loadXMLSetting(&GCSettings.ZoomLevel, "ZoomLevel"); loadXMLSetting(&GCSettings.ZoomLevel, "ZoomLevel");
loadXMLSetting(&GCSettings.render, "render"); loadXMLSetting(&GCSettings.render, "render");
loadXMLSetting(&GCSettings.scaling, "scaling"); loadXMLSetting(&GCSettings.scaling, "scaling");