summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar archshift2014-10-19 00:53:49 -0700
committerGravatar archshift2014-10-19 00:53:49 -0700
commit36c04ae2ee565199d09157dec36cdfdfc7dcd11b (patch)
treeafa337fef83e6bbca2d92181742962ae55ee3b07
parentMerge pull request #143 from archshift/graceful-quit (diff)
downloadyuzu-36c04ae2ee565199d09157dec36cdfdfc7dcd11b.tar.gz
yuzu-36c04ae2ee565199d09157dec36cdfdfc7dcd11b.tar.xz
yuzu-36c04ae2ee565199d09157dec36cdfdfc7dcd11b.zip
emu_window_glfw.cpp: Fixed graceful quitting
In PR #143, the name of the function IsOpen was originally ShouldClose, but was changed. The function's caller was changed to reflect this, but the return value wasn't.
Diffstat (limited to '')
-rw-r--r--src/citra/emu_window/emu_window_glfw.cpp2
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
31 31
32/// Whether the window is still open, and a close request hasn't yet been sent 32/// Whether the window is still open, and a close request hasn't yet been sent
33const bool EmuWindow_GLFW::IsOpen() { 33const bool EmuWindow_GLFW::IsOpen() {
34 return glfwWindowShouldClose(m_render_window) != 0; 34 return glfwWindowShouldClose(m_render_window) == 0;
35} 35}
36 36
37/// EmuWindow_GLFW constructor 37/// EmuWindow_GLFW constructor