summaryrefslogtreecommitdiff
path: root/ym2612.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-05-27 20:53:21 -0700
committerMichael Pavone <pavone@retrodev.com>2015-05-27 20:53:21 -0700
commit38d85c1c95d0a4152a480baff4974622977dcfce (patch)
tree362d27b29a7ad3dacff97c9ee5dcbf960e37c1e4 /ym2612.h
parent6817ef558d165b50a9b08a337dd93c4f1f46304e (diff)
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
Diffstat (limited to 'ym2612.h')
-rw-r--r--ym2612.h2
1 files changed, 2 insertions, 0 deletions
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_