summaryrefslogtreecommitdiff
path: root/ym2612.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-06-02 13:42:33 -0700
committerMike Pavone <pavone@retrodev.com>2013-06-02 13:42:33 -0700
commit5a5a2c5df628197a5ab4dcce7124d8c0cb9a7d68 (patch)
tree65cc34218e0d5d70dd778ec578409b30c4ec2b9b /ym2612.h
parent567f2d8ed44dc59d421bc13c2b58b88a0b77bc31 (diff)
Use signed ints for things that represent signed values in YM2612 core
Diffstat (limited to 'ym2612.h')
-rw-r--r--ym2612.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ym2612.h b/ym2612.h
index a296659..7c74336 100644
--- a/ym2612.h
+++ b/ym2612.h
@@ -11,7 +11,7 @@ typedef struct {
uint32_t phase_inc;
uint32_t phase_counter;
uint16_t envelope;
- uint16_t output;
+ int16_t output;
uint16_t total_level;
uint16_t sustain_level;
uint8_t rates[4];