From 887167add20354b1852e8e004571ca6fe027cfa3 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 22 Mar 2020 21:57:17 -0500 Subject: [PATCH] [nostalgia/core/sdl] Add sleep 1 ms to main loop --- src/nostalgia/core/sdl/core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nostalgia/core/sdl/core.cpp b/src/nostalgia/core/sdl/core.cpp index 76a87530..d7e52f30 100644 --- a/src/nostalgia/core/sdl/core.cpp +++ b/src/nostalgia/core/sdl/core.cpp @@ -31,6 +31,7 @@ ox::Error run(Context *ctx) { } } draw(ctx); + SDL_Delay(1); } return OxError(0); }