From ccb59a9d2891421fc81bdaaed39df79c61364a86 Mon Sep 17 00:00:00 2001 From: archshift Date: Wed, 15 Oct 2014 18:48:02 -0700 Subject: Implemented graceful closing of the GLFW window, along with emulation. --- src/citra/citra.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/citra/citra.cpp') diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index 46781def..6ac5c5dc 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp @@ -34,7 +34,7 @@ int __cdecl main(int argc, char **argv) { return -1; } - while(true) { + while (emu_window->IsOpen()) { Core::RunLoop(); } -- cgit v1.2.3