| 254 | } |
| 255 | |
| 256 | void CExportDialog::CreateNES() |
| 257 | { |
| 258 | CFamiTrackerDoc *pDoc = CFamiTrackerDoc::GetDoc(); |
| 259 | |
| 260 | WithFile(pDoc->GetFileTitle(), [&] (CSimpleFile &OutputFile) { |
| 261 | CWaitCursor wait; |
| 262 | |
| 263 | CCompiler Compiler(*pDoc->GetModule(), std::make_unique<CEditLog>(GetDlgItem(IDC_OUTPUT))); |
| 264 | Compiler.ExportNES(OutputFile, IsDlgButtonChecked(IDC_PAL) == BST_CHECKED); |
| 265 | }); |
| 266 | } |
| 267 | |
| 268 | void CExportDialog::CreateBIN() |
| 269 | { |
nothing calls this directly
no test coverage detected