Change cpu_lag_max to a define, since it is used in an assert

This commit is contained in:
Randy Heit 2015-03-11 13:26:35 -05:00
parent e073786abe
commit 8398a6ee75

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];\
} }
//unused: int const cpu_lag_max = 12 - 1; // DIV YA,X takes 12 clocks #define 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 )
{ {