path issue when loading Super Game Boy
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 9
- Forks
- 22
- Avg merge
- 43m
- Merged PRs (30d)
- 1
Description
when Super Game Boy bios is located in , it will not find it and gives error like this:
RetroArch [libretro INFO] :: [Memory]: ID 41, Request "sgb.boot.rom".
RetroArch [libretro INFO] :: Load BIOS.
RetroArch [INFO] :: Environ SYSTEM_DIRECTORY: ".\system".
RetroArch [libretro ERROR] :: Cannot find requested file in system directory: ".\system/sgb.boot.rom
".
Syntax used:
`E:\EMULATORS\retroarch\retroarch.exe -L "E:\EMULATORS\retroarch\cores\bsnes_balanced_libretro.dll" "C:\Users\MEDIA\Desktop\New folder (2)\Super Game Boy (World).sfc" --subsystem sgb "C:\Users\MEDIA\Desktop\New folder (2)\Castlevania Legends (USA, Europe).gb"
`
moving the bios file into the Super Game Boy rom or into the gameboy rom(or what ever rom you are trying to load SuperGameBoy with) works.
this also affects bsnes-mercury
forum discussion: https://forums.libretro.com/t/super-game-boy-enough-is-enough/10872/5
Possible problematic area: https://github.com/libretro/bsnes-libretro/blob/libretro/target-libretro/libretro.cpp#L207
Tested under Windows 7 64bit.
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 at target-libretro/libretro.cpp around line 207 and reproduce the Windows command shown in the issue with the BIOS in the system directory. Trace how the system directory path is assembled for the Super Game Boy subsystem. Done means sgb.boot.rom is found in for bsnes2014 and the related bsnes-mercury case is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100