V0.5.1 fixes#5
Merged
Merged
Conversation
Remove the unconditional FBIO_WAITFORVSYNC from unifrog_fb_pan(). The libretro presenter does not request explicit vsync for its display modes, so the moved wait made every core frame block in framebuffer pan and charged that wait to active emulation time. Keep explicit presenter vsync behavior by waiting in the presenter only when UNIFROG_PRESENT_VSYNC is set.
Cache polled input per emulation frame so input_state callbacks reuse local and per-port button masks instead of querying the input and wireless layers repeatedly. Add a no-resample audio batch path for the common case where the core sample rate already matches the hardware output rate, and skip clipping branches for the default 1x gain mono mix. These changes reduce frontend CPU overhead without changing libretro core sources.
Honor the libretro framebuffer_format run option when accepting core pixel formats. RGB565 remains the default so cores are pushed away from XRGB8888 unless explicitly configured, reducing framebuffer writes, cache flush volume, and GE source bandwidth on the MIPS32r1 target. Persist the framebuffer setting so XRGB8888 can still be enabled deliberately for compatibility testing.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restore cheap framebuffer pan for cores
Trim libretro frontend hot paths
Prefer RGB565 core framebuffers