forked from hex007/freej2me
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FreeJ2ME: Move frame cap code into the main Runnable
This makes sure that frame limiting works even with zb3's revamped paint() logic, which has the added bonus of lower overhead and increased performance when framerate is uncapped (most users won't notice a difference with framerate capped anyway). This however, only applies to AWT, since Anbu and Libretro don't work the same way and do not benefit from the revamped logic, as their drawing method is different and frame cap was always working there.
- Loading branch information
1 parent
cde86ae
commit 0bf1ff6
Showing
1 changed file
with
32 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters