Clean up unused variables in GME

This commit is contained in:
Randy Heit 2015-03-08 17:27:34 -05:00
parent d84c85d40f
commit e20164ba46
3 changed files with 4 additions and 3 deletions

View file

@ -18,7 +18,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
#include "blargg_source.h" #include "blargg_source.h"
unsigned const resampler_extra = 256; //unsigned const resampler_extra = 256;
Dual_Resampler::Dual_Resampler() : Dual_Resampler::Dual_Resampler() :
sample_buf_size(0), 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 ); long count = resampler.read( sample_buf.begin(), sample_buf_size );
assert( count == (long) sample_buf_size ); assert( count == (long) sample_buf_size );
(void)count; // Silence warning in non-debug build
mix_samples( blip_buf, out ); mix_samples( blip_buf, out );
blip_buf.remove_samples( pair_count ); blip_buf.remove_samples( pair_count );

View file

@ -39,7 +39,7 @@ int const ram_addr = 0x2000;
// status flags // status flags
int const st_n = 0x80; int const st_n = 0x80;
int const st_v = 0x40; int const st_v = 0x40;
int const st_t = 0x20; //unused: int const st_t = 0x20;
int const st_b = 0x10; int const st_b = 0x10;
int const st_d = 0x08; int const st_d = 0x08;
int const st_i = 0x04; int const st_i = 0x04;

View file

@ -529,7 +529,7 @@ BOOST::uint8_t* Snes_Spc::run_until_( time_t end_time )\
return &REGS [r_cpuio0];\ return &REGS [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 ) void Snes_Spc::end_frame( time_t end_time )
{ {