diff 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
line wrap: on
line diff
--- a/ym2612.h	Sun Jun 02 00:00:22 2013 -0700
+++ b/ym2612.h	Sun Jun 02 13:42:33 2013 -0700
@@ -11,7 +11,7 @@
 	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];