RobLoach / RobLoach/raylib-libretro

Implement RETRO_ENVIRONMENT_GET_JIT_CAPABLE

Open Beginner friendly
#109 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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.hRETRO_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.hRETRO_ENVIRONMENT_GET_JIT_CAPABLE.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.