From 8398a6ee75fda895106ee7044ebb877c607eac45 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 11 Mar 2015 13:26:35 -0500 Subject: [PATCH] Change cpu_lag_max to a define, since it is used in an assert --- game-music-emu/gme/Spc_Cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-music-emu/gme/Spc_Cpu.cpp b/game-music-emu/gme/Spc_Cpu.cpp index 677ddd0d1e..a9746e015b 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];\ } -//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 ) {