void CfgSave() { set_config_int("gfxmode", "fullscreen", cfgFull); set_config_int("gfxmode", "zoomin", cfgZoom); set_config_int("gfxmode", "width", std::atoi(cfgW)); set_config_int("gfxmode", "height", std::atoi(cfgH)); SaveControls(); }
void Config::Save() { SaveControls(); SaveCore(); SaveData(); SaveMiscellaneous(); }