renderer bugfix, minor adjustments
[picodrive.git] / platform / common / emu.c
index 02640bb..ab17a1f 100644 (file)
@@ -511,8 +511,10 @@ int emu_ReadConfig(int game, int no_defaults)
 \r
                ret = -1;\r
                if (config_havesect(cfg, sect)) {\r
+                       int vol = currentConfig.volume;\r
                        emu_setDefaultConfig();\r
                        ret = config_readsect(cfg, sect);\r
+                       currentConfig.volume = vol; // make vol global (bah)\r
                }\r
 \r
                if (ret != 0)\r