Browse code

Disable execution timeouts for now.

This is a quick hack to disable the execution timeout, while still
making the application able to exit if the window is requested to close.
Execution limits may be reintroduced with more debugging features, but
not enabled by default.

Andrew Alderwick authored on 13/06/2022 08:15:20
Showing 1 changed files
... ...
@@ -466,7 +466,7 @@ run(Uxn *u)
466 466
 int
467 467
 uxn_interrupt(void)
468 468
 {
469
-	return ((Sint64)(exec_deadline - SDL_GetPerformanceCounter())) > 0;
469
+	return !SDL_QuitRequested();
470 470
 }
471 471
 
472 472
 int