| 283 | } |
| 284 | |
| 285 | std::unique_ptr<CSongData> CFamiTrackerModule::MakeNewSong() const { |
| 286 | auto pSong = std::make_unique<CSongData>(CSongData::DEFAULT_ROW_COUNT); |
| 287 | pSong->SetSongTempo(GetMachine() == machine_t::NTSC ? DEFAULT_TEMPO_NTSC : DEFAULT_TEMPO_PAL); |
| 288 | if (GetSongCount() > 0) |
| 289 | pSong->SetRowHighlight(GetSong(0)->GetRowHighlight()); |
| 290 | return pSong; |
| 291 | } |
| 292 | |
| 293 | CInstrumentManager *CFamiTrackerModule::GetInstrumentManager() const { |
| 294 | return m_pInstrumentManager.get(); |
no test coverage detected