diff options
author | Martin Kiewitz | 2015-06-27 19:05:59 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-27 19:05:59 +0200 |
commit | fe31e6a3f6a6090e8e9574a87ef4979af12a8ecf (patch) | |
tree | f995d9b91a00ef89864176c66e0248660426915e | |
parent | 27af596ee978e2d9d8570ff8a2a17fe650f514fb (diff) | |
download | scummvm-rg350-fe31e6a3f6a6090e8e9574a87ef4979af12a8ecf.tar.gz scummvm-rg350-fe31e6a3f6a6090e8e9574a87ef4979af12a8ecf.tar.bz2 scummvm-rg350-fe31e6a3f6a6090e8e9574a87ef4979af12a8ecf.zip |
AGOS: Accolade AdLib: remove _ from reset-methods
remove "_" from reset-method-names
-rw-r--r-- | engines/agos/drivers/accolade/adlib.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/agos/drivers/accolade/adlib.cpp b/engines/agos/drivers/accolade/adlib.cpp index 36a5f3e54e..a748ac2323 100644 --- a/engines/agos/drivers/accolade/adlib.cpp +++ b/engines/agos/drivers/accolade/adlib.cpp @@ -181,8 +181,8 @@ protected: private: 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 programChange(byte FMvoiceChannel, byte mappedInstrumentNr, byte MIDIinstrumentNr); void programChangeSetInstrument(byte FMvoiceChannel, byte mappedInstrumentNr, byte MIDIinstrumentNr); @@ -278,14 +278,14 @@ void MidiDriver_Accolade_AdLib::resetAdLib() { setRegister(0xBD, 0x00); // 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); // original driver sent 0x00 + resetAdLibOperatorRegisters(0x20, 0); + resetAdLibOperatorRegisters(0x60, 0); + resetAdLibOperatorRegisters(0x80, 0); + resetAdLibFMVoiceChannelRegisters(0xA0, 0); + resetAdLibFMVoiceChannelRegisters(0xB0, 0); + resetAdLibFMVoiceChannelRegisters(0xC0, 0); + resetAdLibOperatorRegisters(0xE0, 0); + resetAdLibOperatorRegisters(0x40, 0x3F); // original driver sent 0x00 setRegister(0x01, 0x20); // enable waveform control on both operators setRegister(0x04, 0x60); // Timer control @@ -297,7 +297,7 @@ void MidiDriver_Accolade_AdLib::resetAdLib() { _percussionReg = 0x20; } -void MidiDriver_Accolade_AdLib::resetAdLib_OperatorRegisters(byte baseRegister, byte value) { +void MidiDriver_Accolade_AdLib::resetAdLibOperatorRegisters(byte baseRegister, byte value) { byte operatorIndex; for (operatorIndex = 0; operatorIndex < 0x16; operatorIndex++) { @@ -313,7 +313,7 @@ void MidiDriver_Accolade_AdLib::resetAdLib_OperatorRegisters(byte baseRegister, } } -void MidiDriver_Accolade_AdLib::resetAdLib_FMVoiceChannelRegisters(byte baseRegister, byte value) { +void MidiDriver_Accolade_AdLib::resetAdLibFMVoiceChannelRegisters(byte baseRegister, byte value) { byte FMvoiceChannel; for (FMvoiceChannel = 0; FMvoiceChannel < AGOS_ADLIB_VOICES_COUNT; FMvoiceChannel++) { |