libretro / bsnes2014

Libretro fork of bsnes. As close to upstream as possible.
GNU General Public License v3.0
9 stars 17 forks source link

path issue when loading Super Game Boy #45

Open ghost opened 7 years ago

ghost commented 7 years ago

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.

orbea commented 5 years ago

I can't reproduce this on linux, it found my bios file in my set bios directory correctly.

ghost commented 5 years ago

this was a windows issue. dunno if its still a problem radius was aware of this issue back then since we were talking about this (mercury is a similar case). but i dont have the snes stuff anymore and i only play nowadays using vbam for sgb games (even if they dont have snes sound) so i cant re test anymore.