@@ -693,8 +693,6 @@ begin |
| 693 |
SymbolTable := ParseSymFile('hUGEDriver/preview.sym'); |
693 |
SymbolTable := ParseSymFile('hUGEDriver/preview.sym'); |
| 694 |
|
694 |
|
| 695 |
// Start emulation on the rendered preview binary |
695 |
// Start emulation on the rendered preview binary |
| 696 |
EmulationThread.Terminate; |
|
|
| 697 |
//EmulationThread.WaitFor; |
|
|
| 698 |
EmulationThread.Free; |
696 |
EmulationThread.Free; |
| 699 |
EmulationThread := TEmulationThread.Create('hUGEDriver/preview.gb'); |
697 |
EmulationThread := TEmulationThread.Create('hUGEDriver/preview.gb'); |
| 700 |
PokeSymbol(SYM_TICKS_PER_ROW, Song.TicksPerRow); |
698 |
PokeSymbol(SYM_TICKS_PER_ROW, Song.TicksPerRow); |
@@ -715,8 +713,6 @@ begin |
| 715 |
TrackerGrid.HighlightedRow := -1; |
713 |
TrackerGrid.HighlightedRow := -1; |
| 716 |
ToolButton2.ImageIndex := 74; |
714 |
ToolButton2.ImageIndex := 74; |
| 717 |
|
715 |
|
| 718 |
EmulationThread.Terminate; |
|
|
| 719 |
//EmulationThread.WaitFor; |
|
|
| 720 |
EmulationThread.Free; |
716 |
EmulationThread.Free; |
| 721 |
EmulationThread := TEmulationThread.Create('halt.gb'); |
717 |
EmulationThread := TEmulationThread.Create('halt.gb'); |
| 722 |
EmulationThread.Start; |
718 |
EmulationThread.Start; |