diff options
author | Michael Pavone <pavone@retrodev.com> | 2019-09-07 22:18:09 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2019-09-07 22:18:09 -0700 |
commit | 803a402cb12ee895a963b8bd5b53b3faec8dece1 (patch) | |
tree | d7484b3a70536b1481c555848b47093ec1d93092 /ym2612.h | |
parent | 27b280687ae910262e5c42aa6f15f3c3461d9d9d (diff) |
Cache operator phase increment for a small perf improvement
Diffstat (limited to 'ym2612.h')
-rw-r--r-- | ym2612.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |