aboutsummaryrefslogtreecommitdiff
path: root/src/chips/dosbox/dbopl.cpp
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/dosbox/dbopl.cpp
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/dosbox/dbopl.cpp')
-rw-r--r--src/chips/dosbox/dbopl.cpp4
1 files changed, 4 insertions, 0 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 ) {