aboutsummaryrefslogtreecommitdiff
path: root/src/chips
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-01 00:29:36 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-01 00:29:36 +0300
commita3785e894c562e721a08c1ac7f6c443bcb4c402a (patch)
treef18f9b94a09057caa3c8d65a6645463809b1cbe7 /src/chips
parent42f6cbfe115e6cfa695b07001cef894f00fa9cb5 (diff)
downloadlibADLMIDI-a3785e894c562e721a08c1ac7f6c443bcb4c402a.tar.gz
libADLMIDI-a3785e894c562e721a08c1ac7f6c443bcb4c402a.tar.bz2
libADLMIDI-a3785e894c562e721a08c1ac7f6c443bcb4c402a.zip
Warning fixes and append "r4111" into name of DosBox emulator
Diffstat (limited to 'src/chips')
-rw-r--r--src/chips/dosbox/dbopl.cpp4
-rw-r--r--src/chips/dosbox_opl3.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/chips/dosbox/dbopl.cpp b/src/chips/dosbox/dbopl.cpp
index 27b8983..098eb13 100644
--- a/src/chips/dosbox/dbopl.cpp
+++ b/src/chips/dosbox/dbopl.cpp
@@ -907,6 +907,8 @@ Channel* Channel::BlockTemplate( Chip* chip, Bit32u samples, Bit32s* output ) {
return (this + 2);
}
break;
+ default:
+ break;
}
//Init the operators with the the current vibrato and tremolo values
Op( 0 )->Prepare( chip );
@@ -972,6 +974,8 @@ Channel* Channel::BlockTemplate( Chip* chip, Bit32u samples, Bit32s* output ) {
output[ i * 2 + 0 ] += sample & maskLeft;
output[ i * 2 + 1 ] += sample & maskRight;
break;
+ default:
+ break;
}
}
switch( mode ) {
diff --git a/src/chips/dosbox_opl3.cpp b/src/chips/dosbox_opl3.cpp
index 9669fa3..f1fcce4 100644
--- a/src/chips/dosbox_opl3.cpp
+++ b/src/chips/dosbox_opl3.cpp
@@ -108,5 +108,5 @@ int DosBoxOPL3::generateAndMix32(int32_t *output, size_t frames)
const char *DosBoxOPL3::emulatorName()
{
- return "DosBox 0.74 OPL3";
+ return "DosBox 0.74-r4111 OPL3";
}