Repository navigation
Conversation
Cores are loaded into the helper process, which is spawned from this app bundle and therefore runs the same slice. A core whose binary has no slice for that architecture cannot be loaded at all, even though its Info.plist reads fine and it looks installed. OECorePlugin can already report the architectures a core contains. Add the running slice and a comparison against it, so callers can filter candidates before they try to open one. Co-Authored-By: Claude Code <noreply@anthropic.com>
executeThreadCanProceed is signalled by didRenderFrameOnAlternateThread(), the callback of cores that render on a thread of their own. A core that renders inline never sends it, so once FPS limiting is resumed the emulation thread waits for a signal that never comes. The pair of semaphores belongs to the alternate-thread path and stays there. Co-Authored-By: Claude Code <noreply@anthropic.com>
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.
Adds the two hooks an app needs to only run cores it can actually load, and
fixes a render wait found while building for arm64.
Commits
OECorePlugin.currentArchitectureandisCompatibleWithCurrentArchitecture. Cores are loaded into the helperprocess, which is spawned from the app bundle and runs the same slice; a core
without that slice cannot be loaded at all, even though its Info.plist reads
fine and it looks installed. Callers can now filter candidates before they
try to open one.
executeThreadCanProceedis signalled bydidRenderFrameOnAlternateThread(),the callback of cores that render on a thread of their own. A core that
renders inline never sends it, so once FPS limiting is resumed the emulation
thread waits for a signal that never comes.
Notes
The audio path needed no change here: master already uses GameAudio2 only
(bc098f4), so the commit that did the same is gone after rebasing.
The architecture filter is used by the app's
core(forSystem:); thecorresponding change is in OpenEmu/OpenEmu#5157.
🤖 Generated with Claude Code