RobLoach / RobLoach/raylib-libretro
Implement RETRO_ENVIRONMENT_GET_JIT_CAPABLE
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 38
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
One-line callback that lets the core know whether the frontend allows JIT recompilation. Cores like ParaLLEl-N64, PPSSPP, and Dolphin take a fast path when this returns true.
Stub location: include/raylib-libretro.h — RETRO_ENVIRONMENT_GET_JIT_CAPABLE case.
Should return true on platforms where W^X / JIT is permitted (essentially all desktop targets). On iOS / restricted platforms return false.
Reference: vendor/libretro-common/include/libretro.h — RETRO_ENVIRONMENT_GET_JIT_CAPABLE.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in include/raylib-libretro.h at the RETRO_ENVIRONMENT_GET_JIT_CAPABLE case, then compare the callback definition in vendor/libretro-common/include/libretro.h. Implement the platform-dependent response so desktop targets report JIT capability and iOS or restricted platforms report false; done means the frontend returns the appropriate boolean.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100