notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reverted useless threaded buffering code
[picodrive.git]
/
platform
/
common
/
emu.c
diff --git
a/platform/common/emu.c
b/platform/common/emu.c
index
02640bb
..
ab17a1f
100644
(file)
--- a/
platform/common/emu.c
+++ b/
platform/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