mirror of
https://github.com/libretro/beetle-pce-libretro.git
synced 2024-11-23 08:09:43 +00:00
cdrom: fix cue handling
This commit is contained in:
parent
2d050ee501
commit
8ca8109380
@ -670,7 +670,13 @@ bool CDAccess_Image::ImageOpen(const std::string& path, bool image_memcache)
|
||||
active_track = -1;
|
||||
}
|
||||
|
||||
std::string efn = MDFN_EvalFIP(base_dir, args[0]);
|
||||
std::string efn;
|
||||
|
||||
if(args[0].find("cdrom://") == std::string::npos)
|
||||
efn = MDFN_EvalFIP(base_dir, args[0]);
|
||||
else
|
||||
efn = args[0];
|
||||
|
||||
TmpTrack.fp = new FileStream(efn.c_str(), MODE_READ);
|
||||
TmpTrack.FirstFileInstance = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user