| 98 | } |
| 99 | |
| 100 | bool IsInstrumentCompatible(sound_chip_t Chip, inst_type_t Type) { // // // |
| 101 | switch (Chip) { |
| 102 | case sound_chip_t::APU: |
| 103 | case sound_chip_t::MMC5: |
| 104 | case sound_chip_t::N163: // // // |
| 105 | case sound_chip_t::S5B: |
| 106 | case sound_chip_t::VRC6: |
| 107 | case sound_chip_t::FDS: |
| 108 | switch (Type) { |
| 109 | case INST_2A03: |
| 110 | case INST_VRC6: |
| 111 | case INST_N163: |
| 112 | case INST_S5B: |
| 113 | case INST_FDS: |
| 114 | return true; |
| 115 | default: return false; |
| 116 | } |
| 117 | case sound_chip_t::VRC7: |
| 118 | return Type == INST_VRC7; |
| 119 | } |
| 120 | |
| 121 | return false; |
| 122 | } |
| 123 | |
| 124 | bool IsEffectCompatible(stChannelID ch, stEffectCommand cmd) { // // // |
| 125 | switch (cmd.fx) { |
no outgoing calls
no test coverage detected