[gens-sdl] gens-sdl.cpp: Yield after every frame when rendering the "Crazy" effect.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 06:28:57 +0000 (02:28 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 06:28:57 +0000 (02:28 -0400)
TODO: Use the frameskip code to limit frames?

src/gens-sdl/gens-sdl.cpp

index c7689a0..aff774c 100644 (file)
@@ -941,6 +941,8 @@ int run(void)
                        crazyEffect->run(crazyFb);
                        sdlHandler->update_video();
                        clks.frames++;
+                       yield();
+                       // TODO: Use the frameskip code to limit frames?
                        continue;
                }