diff options
author | Tony Wasserka <neobrainx@gmail.com> | 2014-10-18 01:07:04 +0200 |
---|---|---|
committer | Tony Wasserka <neobrainx@gmail.com> | 2014-10-18 01:07:04 +0200 |
commit | d32ea3b9773de22188857d6dff5566ef8821d120 (patch) | |
tree | a87a5ae1344688c6d90fd23784b6c975405d6727 /src/citra/citra.cpp | |
parent | e4905143c8bc1ea8a2c736e025db234fdd82aea8 (diff) | |
parent | ccb59a9d2891421fc81bdaaed39df79c61364a86 (diff) |
Merge pull request #143 from archshift/graceful-quit
Implemented graceful closing of the GLFW window, along with emulation.
Diffstat (limited to 'src/citra/citra.cpp')
-rw-r--r-- | src/citra/citra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index 46781defa..6ac5c5dc5 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(); } |