diff --git a/src/uxnemu.c b/src/uxnemu.c index cdb24f7..8c1c99e 100644 --- a/src/uxnemu.c +++ b/src/uxnemu.c @@ -466,7 +466,7 @@ run(Uxn *u) int uxn_interrupt(void) { - return ((Sint64)(exec_deadline - SDL_GetPerformanceCounter())) > 0; + return !SDL_QuitRequested(); } int