소스 검색

Merge pull request #144 from archshift/graceful-quit

emu_window_glfw.cpp: Fixed graceful quitting
Tony Wasserka 11 년 전
부모
커밋
09fa3aa338
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/citra/emu_window/emu_window_glfw.cpp

+ 1 - 1
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