From bb4797ee68c0f12018196d3ee8caddcdcad9fe38 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sat, 19 May 2018 22:33:37 +0300 Subject: Works and fixes - Fixed an incorrect calculation of 4-op channels and choosing 4-op channels for 2-op only banks - Resolved trouble with automatically chosen flags because of internal confusion --- src/adldata.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/adldata.hh') diff --git a/src/adldata.hh b/src/adldata.hh index ed0c8b4..65fd6bd 100644 --- a/src/adldata.hh +++ b/src/adldata.hh @@ -47,14 +47,14 @@ enum { adlDefaultNumber = 189 }; extern const struct adlinsdata { - enum { Flag_Pseudo4op = 0x01, Flag_NoSound = 0x02 }; + enum { Flag_Pseudo4op = 0x01, Flag_NoSound = 0x02, Flag_Real4op = 0x04 }; uint16_t adlno1, adlno2; uint8_t tone; uint8_t flags; uint16_t ms_sound_kon; // Number of milliseconds it produces sound; uint16_t ms_sound_koff; - double voice2_fine_tune; + double voice2_fine_tune; } adlins[]; ADLDATA_BYTE_COMPARABLE(struct adlinsdata) int maxAdlBanks(); @@ -71,7 +71,7 @@ struct adlinsdata2 uint8_t flags; uint16_t ms_sound_kon; // Number of milliseconds it produces sound; uint16_t ms_sound_koff; - double voice2_fine_tune; + double voice2_fine_tune; adlinsdata2() {} explicit adlinsdata2(const adlinsdata &d); }; -- cgit v1.2.3