diff --git a/core/cfg/cfg.cpp b/core/cfg/cfg.cpp index 03a524c14..9e8213cad 100644 --- a/core/cfg/cfg.cpp +++ b/core/cfg/cfg.cpp @@ -141,7 +141,11 @@ string cfgLoadStr(const wchar * Section, const wchar * Key, const wchar* Defaul //These are helpers , mainly :) void cfgSaveInt(const wchar * Section, const wchar * Key, s32 Int) { - return cfgdb.set_int(string(Section), string(Key), Int); + cfgdb.set_int(string(Section), string(Key), Int); + if(save_config) + { + savecfgf(); + } } s32 cfgLoadInt(const wchar * Section, const wchar * Key,s32 Default)