diff options
author | Tony Wasserka <neobrainx@gmail.com> | 2014-10-19 11:54:19 +0200 |
---|---|---|
committer | Tony Wasserka <neobrainx@gmail.com> | 2014-10-19 11:54:19 +0200 |
commit | 09fa3aa338852dd26f78432f2189ebc4f81ce70e (patch) | |
tree | afa337fef83e6bbca2d92181742962ae55ee3b07 | |
parent | Merge pull request #143 from archshift/graceful-quit (diff) | |
parent | emu_window_glfw.cpp: Fixed graceful quitting (diff) | |
download | yuzu-09fa3aa338852dd26f78432f2189ebc4f81ce70e.tar yuzu-09fa3aa338852dd26f78432f2189ebc4f81ce70e.tar.gz yuzu-09fa3aa338852dd26f78432f2189ebc4f81ce70e.tar.bz2 yuzu-09fa3aa338852dd26f78432f2189ebc4f81ce70e.tar.lz yuzu-09fa3aa338852dd26f78432f2189ebc4f81ce70e.tar.xz yuzu-09fa3aa338852dd26f78432f2189ebc4f81ce70e.tar.zst yuzu-09fa3aa338852dd26f78432f2189ebc4f81ce70e.zip |
-rw-r--r-- | src/citra/emu_window/emu_window_glfw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.cpp b/src/citra/emu_window/emu_window_glfw.cpp index 079c5356d..0c774bbc5 100644 --- a/src/citra/emu_window/emu_window_glfw.cpp +++ b/src/citra/emu_window/emu_window_glfw.cpp @@ -31,7 +31,7 @@ void EmuWindow_GLFW::OnKeyEvent(GLFWwindow* win, int key, int scancode, int acti /// Whether the window is still open, and a close request hasn't yet been sent const bool EmuWindow_GLFW::IsOpen() { - return glfwWindowShouldClose(m_render_window) != 0; + return glfwWindowShouldClose(m_render_window) == 0; } /// EmuWindow_GLFW constructor |