notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
renderer bugfix, minor adjustments
[libpicofe.git]
/
common
/
emu.c
diff --git
a/common/emu.c
b/common/emu.c
index
02640bb
..
ab17a1f
100644
(file)
--- a/
common/emu.c
+++ b/
common/emu.c
@@
-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