Calling your attention to ppsspp core problems
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
First and foremost consider this:
- Only RetroArch bugs should be filed here. Not core bugs or game bugs
- This is not a forum or a help section, this is strictly developer oriented
Description
I posted this here because libretro/ppsspp doesn't have a bug report tab.
Yes, i know the ppsspp core is upstreamed, this doesn't mean that upstream is going to fix bugs that only occur in the libretro port. Namely this one 'fix', which is basically a hack:
https://github.com/hrydgard/ppsspp/pull/14680
My problem with this is that this hack original problem comes from the libretro port not using the same config files (fair enough) and not replacing it by anything in the libretro core startup (not good). Hardcoding seems ok if you're never going to use RA libretro to play multiplayer ppsspp, but you'd think this would be a core option.
And while you're at it, check if any other piece of initialization data that exists in ppsspp was 'skipped' in the creation of this core. This comment by unknownbrackets is alarming https://github.com/hrydgard/ppsspp/issues/13115#issuecomment-891499805
' However, because libretro (for some reason?) bypasses all our configuration initialization code, this doesn't happen there. There's probably other things not initializing the Config class is doing wrong too.'
Expected behavior
ppsspp upstream initialization function(s) are either duplicated correctly for the libretro core framework so no more problems like this happen or the original code used somehow.
Actual behavior
There was a stealthbug that only existed in libretro, it was 'fixed' by hardcoding something which should be random and might have to be reverted or reworked to have multiplayer lan in the future of the core, and a upstream author is making noises about 'probably other things are broken'.
Function replacement hacks? Other networking subtleties? Who knows.
Contributor guide
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 by reading the linked PPSSPP pull request and the upstream comment about skipped configuration initialization. Trace the libretro core startup path and compare it with PPSSPP's upstream initialization functions. Done means identifying the missing initialization areas and agreeing on a concrete implementation scope for the libretro port.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100