diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-05-27 20:53:21 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-05-27 20:53:21 -0700 |
commit | 38d85c1c95d0a4152a480baff4974622977dcfce (patch) | |
tree | 362d27b29a7ad3dacff97c9ee5dcbf960e37c1e4 /ym2612.h | |
parent | 6817ef558d165b50a9b08a337dd93c4f1f46304e (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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_ |