| 665 | } |
| 666 | |
| 667 | void CCompiler::UpdateFrameBanks() |
| 668 | { |
| 669 | // Write bank numbers to frame lists (can only be used when bankswitching is used) |
| 670 | |
| 671 | int Channels = m_ChannelOrder.GetChannelCount(); // // // |
| 672 | |
| 673 | for (CChunk *pChunk : m_vFrameChunks) { |
| 674 | // Add bank data |
| 675 | for (int j = 0; j < Channels; ++j) { |
| 676 | unsigned char bank = GetObjectByLabel(pChunk->GetDataPointerTarget(j))->GetBank(); |
| 677 | if (bank < PATTERN_SWITCH_BANK) |
| 678 | bank = PATTERN_SWITCH_BANK; |
| 679 | pChunk->SetupBankData(j + Channels, bank); |
| 680 | } |
| 681 | } |
| 682 | } |
| 683 | |
| 684 | void CCompiler::UpdateSongBanks() |
| 685 | { |
nothing calls this directly
no test coverage detected