From 5b58630bbb78ccaf77ce559e7e161c72a12013b1 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 30 Dec 2010 12:35:13 +0100 Subject: [PATCH] Use settings key --- ssnes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssnes.c b/ssnes.c index 247f55e3e2..7ed7223f08 100644 --- a/ssnes.c +++ b/ssnes.c @@ -336,7 +336,7 @@ int main(int argc, char *argv[]) ///// TODO: Modular friendly!!! for(;;) { - bool quitting = glfwGetKey(GLFW_KEY_ESC) || !glfwGetWindowParam(GLFW_OPENED); + bool quitting = glfwGetKey(g_settings.input.exit_emulator_key) || !glfwGetWindowParam(GLFW_OPENED); if ( quitting ) break;