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 ++++ src/chips/dosbox_opl3.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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"; } -- cgit v1.2.3