diff options
author | Martin Kiewitz | 2015-06-27 19:06:58 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-27 19:06:58 +0200 |
commit | b85afb0ee44787d5dc4ca9ff41cf40403a6d8a07 (patch) | |
tree | 75b20b9aca85e73dbca199f77ddab2cd9430795f /engines/sherlock/tattoo/drivers | |
parent | fe31e6a3f6a6090e8e9574a87ef4979af12a8ecf (diff) | |
download | scummvm-rg350-b85afb0ee44787d5dc4ca9ff41cf40403a6d8a07.tar.gz scummvm-rg350-b85afb0ee44787d5dc4ca9ff41cf40403a6d8a07.tar.bz2 scummvm-rg350-b85afb0ee44787d5dc4ca9ff41cf40403a6d8a07.zip |
SHERLOCK: AdLib drivers: remove _ from reset-methods
remove "_" from reset-method-names
Diffstat (limited to 'engines/sherlock/tattoo/drivers')
-rw-r--r-- | engines/sherlock/tattoo/drivers/tattoo_adlib.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/sherlock/tattoo/drivers/tattoo_adlib.cpp b/engines/sherlock/tattoo/drivers/tattoo_adlib.cpp index b9bfc398e8..cfc9786546 100644 --- a/engines/sherlock/tattoo/drivers/tattoo_adlib.cpp +++ b/engines/sherlock/tattoo/drivers/tattoo_adlib.cpp @@ -241,8 +241,8 @@ protected: private: void resetData(); void resetAdLib(); - void resetAdLib_OperatorRegisters(byte baseRegister, byte value); - void resetAdLib_FMVoiceChannelRegisters(byte baseRegister, byte value); + void resetAdLibOperatorRegisters(byte baseRegister, byte value); + void resetAdLibFMVoiceChannelRegisters(byte baseRegister, byte value); void setRegister(int reg, int value); @@ -367,17 +367,17 @@ void MidiDriver_Miles_AdLib::resetAdLib() { setRegister(0xBD, 0); // disable Rhythm // reset FM voice instrument data - resetAdLib_OperatorRegisters(0x20, 0); - resetAdLib_OperatorRegisters(0x60, 0); - resetAdLib_OperatorRegisters(0x80, 0); - resetAdLib_FMVoiceChannelRegisters(0xA0, 0); - resetAdLib_FMVoiceChannelRegisters(0xB0, 0); - resetAdLib_FMVoiceChannelRegisters(0xC0, 0); - resetAdLib_OperatorRegisters(0xE0, 0); - resetAdLib_OperatorRegisters(0x40, 0x3F); + resetAdLibOperatorRegisters(0x20, 0); + resetAdLibOperatorRegisters(0x60, 0); + resetAdLibOperatorRegisters(0x80, 0); + resetAdLibFMVoiceChannelRegisters(0xA0, 0); + resetAdLibFMVoiceChannelRegisters(0xB0, 0); + resetAdLibFMVoiceChannelRegisters(0xC0, 0); + resetAdLibOperatorRegisters(0xE0, 0); + resetAdLibOperatorRegisters(0x40, 0x3F); } -void MidiDriver_Miles_AdLib::resetAdLib_OperatorRegisters(byte baseRegister, byte value) { +void MidiDriver_Miles_AdLib::resetAdLibOperatorRegisters(byte baseRegister, byte value) { byte physicalFmVoice = 0; for (physicalFmVoice = 0; physicalFmVoice < _modePhysicalFmVoicesCount; physicalFmVoice++) { @@ -386,7 +386,7 @@ void MidiDriver_Miles_AdLib::resetAdLib_OperatorRegisters(byte baseRegister, byt } } -void MidiDriver_Miles_AdLib::resetAdLib_FMVoiceChannelRegisters(byte baseRegister, byte value) { +void MidiDriver_Miles_AdLib::resetAdLibFMVoiceChannelRegisters(byte baseRegister, byte value) { byte physicalFmVoice = 0; for (physicalFmVoice = 0; physicalFmVoice < _modePhysicalFmVoicesCount; physicalFmVoice++) { |