mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 08:17:40 +00:00
Add medium quality sound for FOTAQ
svn-id: r16676
This commit is contained in:
parent
aeaf728dc6
commit
2f8f982f7d
@ -1147,6 +1147,11 @@ FM_OPL *makeAdlibOPL(int rate) {
|
||||
env_bits = FMOPL_ENV_BITS_HQ;
|
||||
eg_ent = FMOPL_EG_ENT_HQ;
|
||||
}
|
||||
else
|
||||
if (ConfMan.hasKey("FM_medium_quality") && ConfMan.getBool("FM_medium_quality")) {
|
||||
env_bits = FMOPL_ENV_BITS_MQ;
|
||||
eg_ent = FMOPL_EG_ENT_MQ;
|
||||
}
|
||||
else {
|
||||
env_bits = FMOPL_ENV_BITS_LQ;
|
||||
eg_ent = FMOPL_EG_ENT_LQ;
|
||||
|
@ -30,8 +30,10 @@
|
||||
|
||||
enum {
|
||||
FMOPL_ENV_BITS_HQ = 16,
|
||||
FMOPL_ENV_BITS_MQ = 8,
|
||||
FMOPL_ENV_BITS_LQ = 8,
|
||||
FMOPL_EG_ENT_HQ = 4096,
|
||||
FMOPL_EG_ENT_MQ = 1024,
|
||||
FMOPL_EG_ENT_LQ = 128
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user