From 38d85c1c95d0a4152a480baff4974622977dcfce Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 27 May 2015 20:53:21 -0700 Subject: Add a basic YM-2612 command to the debugger. Fix negative detune values and get the correct precision for the multiplication step of phase inc calculation --- ym2612.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index 88fca1a..c05b073 100644 --- a/ym2612.h +++ b/ym2612.h @@ -26,6 +26,7 @@ typedef struct { uint8_t key_scaling; uint8_t multiple; uint8_t detune; + uint8_t am; uint8_t env_phase; } ym_operator; @@ -105,6 +106,7 @@ void ym_data_write(ym2612_context * context, uint8_t value); uint8_t ym_read_status(ym2612_context * context); uint8_t ym_load_gst(ym2612_context * context, FILE * gstfile); uint8_t ym_save_gst(ym2612_context * context, FILE * gstfile); +void ym_print_channel_info(ym2612_context *context, int channel); #endif //YM2612_H_ -- cgit v1.2.3