summaryrefslogtreecommitdiff
path: root/Emulator/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emulator/Program.cs')
-rw-r--r--Emulator/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emulator/Program.cs b/Emulator/Program.cs
index 26f8c26..65bf068 100644
--- a/Emulator/Program.cs
+++ b/Emulator/Program.cs
@@ -74,7 +74,7 @@ public class Program
{
display.OutputTexture = tex;
Console.WriteLine("Display surface initialized.");
- }, () => display.Clock(), () => false);
+ }, () => display.Clock(), () => cpu.AbortRequested);
game.Run();
Console.WriteLine("Display surface closed. Waiting for CPU thread to finish...");