From 0b4dfb0ba0fdcad82f78692bf971b74265a41ce4 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 1 Aug 2015 15:38:43 -0400 Subject: [PATCH] lua - fix client.ext() --- BizHawk.Client.EmuHawk/MainForm.Events.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.Events.cs b/BizHawk.Client.EmuHawk/MainForm.Events.cs index ff6ab4739e..8e7b9520e8 100644 --- a/BizHawk.Client.EmuHawk/MainForm.Events.cs +++ b/BizHawk.Client.EmuHawk/MainForm.Events.cs @@ -590,11 +590,6 @@ namespace BizHawk.Client.EmuHawk } private void ExitMenuItem_Click(object sender, EventArgs e) - { - CloseEmulator(); - } - - public void CloseEmulator() { if (GlobalWin.Tools.AskSave()) { @@ -602,6 +597,11 @@ namespace BizHawk.Client.EmuHawk } } + public void CloseEmulator() + { + _exit = true; + } + #endregion #region Emulation Menu