libretro / libretro/bsnes2014

path issue when loading Super Game Boy

Open
#45 2 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.