diff --git a/game-music-emu/gme/Dual_Resampler.cpp b/game-music-emu/gme/Dual_Resampler.cpp index 149f6d6af..0e7828530 100644 --- a/game-music-emu/gme/Dual_Resampler.cpp +++ b/game-music-emu/gme/Dual_Resampler.cpp @@ -18,7 +18,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "blargg_source.h" -unsigned const resampler_extra = 256; +//unsigned const resampler_extra = 256; Dual_Resampler::Dual_Resampler() : sample_buf_size(0), @@ -71,6 +71,7 @@ void Dual_Resampler::play_frame_( Blip_Buffer& blip_buf, dsample_t* out ) long count = resampler.read( sample_buf.begin(), sample_buf_size ); assert( count == (long) sample_buf_size ); + (void)count; // Silence warning in non-debug build mix_samples( blip_buf, out ); blip_buf.remove_samples( pair_count ); diff --git a/game-music-emu/gme/Hes_Cpu.cpp b/game-music-emu/gme/Hes_Cpu.cpp index 4bfe8faff..51aa4259f 100644 --- a/game-music-emu/gme/Hes_Cpu.cpp +++ b/game-music-emu/gme/Hes_Cpu.cpp @@ -39,7 +39,7 @@ int const ram_addr = 0x2000; // status flags int const st_n = 0x80; int const st_v = 0x40; -int const st_t = 0x20; +//unused: int const st_t = 0x20; int const st_b = 0x10; int const st_d = 0x08; int const st_i = 0x04; diff --git a/game-music-emu/gme/Spc_Cpu.cpp b/game-music-emu/gme/Spc_Cpu.cpp index 90f60ed29..677ddd0d1 100644 --- a/game-music-emu/gme/Spc_Cpu.cpp +++ b/game-music-emu/gme/Spc_Cpu.cpp @@ -529,7 +529,7 @@ BOOST::uint8_t* Snes_Spc::run_until_( time_t end_time )\ return ®S [r_cpuio0];\ } -int const cpu_lag_max = 12 - 1; // DIV YA,X takes 12 clocks +//unused: int const cpu_lag_max = 12 - 1; // DIV YA,X takes 12 clocks void Snes_Spc::end_frame( time_t end_time ) {