From 803a402cb12ee895a963b8bd5b53b3faec8dece1 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sat, 7 Sep 2019 22:18:09 -0700 Subject: Cache operator phase increment for a small perf improvement --- ym2612.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index 81f678f..860e642 100644 --- a/ym2612.h +++ b/ym2612.h @@ -20,6 +20,7 @@ typedef struct { int16_t *mod_src[2]; uint32_t phase_counter; + uint32_t phase_inc; uint16_t envelope; int16_t output; uint16_t total_level; -- cgit v1.2.3