| 307 | } |
| 308 | |
| 309 | void CExportDialog::CreateASM() |
| 310 | { |
| 311 | WithFile(L"music.asm", [&] (CSimpleFile &OutputFile) { |
| 312 | CWaitCursor wait; |
| 313 | |
| 314 | CCompiler Compiler(*CFamiTrackerDoc::GetDoc()->GetModule(), std::make_unique<CEditLog>(GetDlgItem(IDC_OUTPUT))); |
| 315 | Compiler.ExportASM(OutputFile); |
| 316 | }); |
| 317 | } |
| 318 | |
| 319 | void CExportDialog::OnBnClickedPlay() |
| 320 | { |