Fixed issue with screen vector run

This commit is contained in:
Devine Lu Linvega 2023-01-27 09:36:04 -08:00
parent 63108c178a
commit b894ba4c57
1 changed files with 2 additions and 2 deletions

View File

@ -437,7 +437,7 @@ run(Uxn *u)
exec_deadline = now + deadline_interval; exec_deadline = now + deadline_interval;
if(!handle_events(u)) if(!handle_events(u))
return 0; return 0;
if (((Sint64)(frame_end - SDL_GetPerformanceCounter())) >= 0) { if(((Sint64)(frame_end - SDL_GetPerformanceCounter())) <= 0) {
frame_end = now + frame_interval; frame_end = now + frame_interval;
uxn_eval(u, GETVEC(&u->dev[0x20])); uxn_eval(u, GETVEC(&u->dev[0x20]));
} }