mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 08:41:59 +00:00
Clean up unused variables in GME
This commit is contained in:
parent
d84c85d40f
commit
e20164ba46
3 changed files with 4 additions and 3 deletions
|
@ -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 );
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -529,7 +529,7 @@ BOOST::uint8_t* Snes_Spc::run_until_( time_t end_time )\
|
||||||
return ®S [r_cpuio0];\
|
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 )
|
void Snes_Spc::end_frame( time_t end_time )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue