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;