aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-25 00:13:32 +0000
committerJohannes Schickel2010-01-25 00:13:32 +0000
commit69071078b331f91e16827f8a29d221b6a9c732e3 (patch)
treedd0f32c5fff9aedce54c6eda4535dde992a886c5 /sound/softsynth
parent1a6573ab66d90bab9d3f73f26414a0aee05353bd (diff)
downloadscummvm-rg350-69071078b331f91e16827f8a29d221b6a9c732e3.tar.gz
scummvm-rg350-69071078b331f91e16827f8a29d221b6a9c732e3.tar.bz2
scummvm-rg350-69071078b331f91e16827f8a29d221b6a9c732e3.zip
Replace some more Adlib uses by AdLib.
svn-id: r47530
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/opl/mame.cpp4
-rw-r--r--sound/softsynth/opl/mame.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/softsynth/opl/mame.cpp b/sound/softsynth/opl/mame.cpp
index eaeda7846c..9e7cbfe3dc 100644
--- a/sound/softsynth/opl/mame.cpp
+++ b/sound/softsynth/opl/mame.cpp
@@ -53,7 +53,7 @@ bool OPL::init(int rate) {
if (_opl)
MAME::OPLDestroy(_opl);
- _opl = MAME::makeAdlibOPL(rate);
+ _opl = MAME::makeAdLibOPL(rate);
return (_opl != 0);
}
@@ -1208,7 +1208,7 @@ int OPLTimerOver(FM_OPL *OPL, int c) {
return OPL->status >> 7;
}
-FM_OPL *makeAdlibOPL(int rate) {
+FM_OPL *makeAdLibOPL(int rate) {
// We need to emulate one YM3812 chip
int env_bits = FMOPL_ENV_BITS_HQ;
int eg_ent = FMOPL_EG_ENT_HQ;
diff --git a/sound/softsynth/opl/mame.h b/sound/softsynth/opl/mame.h
index 0c3bcde5db..b3614bfdcf 100644
--- a/sound/softsynth/opl/mame.h
+++ b/sound/softsynth/opl/mame.h
@@ -173,7 +173,7 @@ void OPLWriteReg(FM_OPL *OPL, int r, int v);
void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length);
// Factory method
-FM_OPL *makeAdlibOPL(int rate);
+FM_OPL *makeAdLibOPL(int rate);
// OPL API implementation
class OPL : public ::OPL::OPL {