Mercurial > repos > blastem
comparison ym2612.h @ 371:0f8a759f1ff4
Use signed ints for things that represent signed values in YM2612 core
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 02 Jun 2013 13:42:33 -0700 |
parents | 62177cc39049 |
children | 1c8d74f2ab0b |
comparison
equal
deleted
inserted
replaced
370:5f215603d001 | 371:0f8a759f1ff4 |
---|---|
9 | 9 |
10 typedef struct { | 10 typedef struct { |
11 uint32_t phase_inc; | 11 uint32_t phase_inc; |
12 uint32_t phase_counter; | 12 uint32_t phase_counter; |
13 uint16_t envelope; | 13 uint16_t envelope; |
14 uint16_t output; | 14 int16_t output; |
15 uint16_t total_level; | 15 uint16_t total_level; |
16 uint16_t sustain_level; | 16 uint16_t sustain_level; |
17 uint8_t rates[4]; | 17 uint8_t rates[4]; |
18 uint8_t key_scaling; | 18 uint8_t key_scaling; |
19 uint8_t multiple; | 19 uint8_t multiple; |