From a3785e894c562e721a08c1ac7f6c443bcb4c402a Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Fri, 1 Jun 2018 00:29:36 +0300 Subject: Warning fixes and append "r4111" into name of DosBox emulator --- src/chips/dosbox/dbopl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/chips/dosbox') 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 ) { -- cgit v1.2.3