PSP build requires memory card to save settings even on PSP Go

Open
#10,390 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c

Research direction

Start by reproducing the launch and configuration-save failure on a PSP Go installed in internal memory, comparing ef0:/PSP/RETROARCH/ with the hard-coded ms0:/PSP/RETROARCH/ path described here. Trace the PSP configuration-path selection and verify that loading and saving use the installation device. Done means settings persist across launches without a memory card.

Written by the indexing model from the issue text.

Description

So as PSP fans know there's PSP Go with 16 GB of internal storage. That removes necessity of having memory card at all.
Although RA on first start from internal memory correctly creates folder for saves/states/cheats/etc in internal memory at ef0:/PSP/RETROARCH/ it still keeps trying to load and save settings to memory card ms0:/PSP/RETROARCH/.
Obviously w/o memory card each launch is assumed as first launch and there's no way to save/load settings from internal memory unless you will change multiple settings each launch just to set path to retroarch.cfg on internal memory and load it.

Expected behavior

RA should save/load settings to a device (PSP itself / memory card) where it is installed.
In this example into ef0:/PSP/RETROARCH/ folder.

Actual behavior

RA keeps trying to load and save settings to memory card in ms0:/PSP/RETROARCH/retroarch.cfg file.

Steps to reproduce the bug
  1. Download RA from official site
  2. Install into internal memory ef0:/PSP/GAME/RetroArch/
  3. Run from internal memory
  4. Get error "Failed saving config to mso:/PSP/RETROARCH/retroacrch.cfg" at launch and when trying to save settings manually.
Bisect Results

RA have no options to select location for configuration file which leads to these errors.

Version/Commit
  • RetroArch: 1.8.5 - 2048 (v1.0 c5e0df2) from RA site
Environment information
  • OS: 6.60 PRO-B10 firmware
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Contributor guide

Open the contributing guide

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.

More from libretro/RetroArch

All issues in libretro/RetroArch

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.