summaryrefslogtreecommitdiff
path: root/src/citra/emu_window/emu_window_glfw.h
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2014-10-18 01:07:04 +0200
committerTony Wasserka <neobrainx@gmail.com>2014-10-18 01:07:04 +0200
commitd32ea3b9773de22188857d6dff5566ef8821d120 (patch)
treea87a5ae1344688c6d90fd23784b6c975405d6727 /src/citra/emu_window/emu_window_glfw.h
parente4905143c8bc1ea8a2c736e025db234fdd82aea8 (diff)
parentccb59a9d2891421fc81bdaaed39df79c61364a86 (diff)
Merge pull request #143 from archshift/graceful-quit
Implemented graceful closing of the GLFW window, along with emulation.
Diffstat (limited to 'src/citra/emu_window/emu_window_glfw.h')
-rw-r--r--src/citra/emu_window/emu_window_glfw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.h b/src/citra/emu_window/emu_window_glfw.h
index d38a11c2c..638e026ef 100644
--- a/src/citra/emu_window/emu_window_glfw.h
+++ b/src/citra/emu_window/emu_window_glfw.h
@@ -27,6 +27,9 @@ public:
static void OnKeyEvent(GLFWwindow* win, int key, int scancode, int action, int mods);
+ /// Whether the window is still open, and a close request hasn't yet been sent
+ const bool IsOpen();
+
void ReloadSetKeymaps() override;
private: