model center and wait for hatari

This commit is contained in:
2026-08-11 19:55:44 +02:00
parent 9649910df6
commit 0117ba90c3
4 changed files with 28 additions and 23 deletions
+4 -5
View File
@@ -55,11 +55,10 @@ namespace MarcerGameDvdLauncher
UseShellExecute = false,
WorkingDirectory = Directory.GetCurrentDirectory()
};
System.Diagnostics.Process.Start(psi);
// Show a modal indicating the emulator was started and wait until
// the user releases the Return key before clearing the modal. This
// prevents accidental key repeats from triggering other actions.
ProgramHelpers.ShowModalUntilReturnReleased("Hatari started. Release Return to continue...");
var process = System.Diagnostics.Process.Start(psi);
// Show a modal indicating the emulator is running and wait until
// the process has exited before clearing the modal.
ProgramHelpers.ShowModalUntilProcessExited(process, "Hatari is running...");
}
catch (Exception ex)
{