uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit fb030288f941615df5bfa2a2fbaf6a075b8ab6ca
parent dc65cc0f1dae77dab32f24da64ebb3151f39988a
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Mon, 13 Jun 2022 09:15:20 +0100

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.

Diffstat:
Msrc/uxnemu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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