diff --git a/mednafen/cdrom/CDAccess_Image.cpp b/mednafen/cdrom/CDAccess_Image.cpp index 7f6c4de..5fb1dcc 100644 --- a/mednafen/cdrom/CDAccess_Image.cpp +++ b/mednafen/cdrom/CDAccess_Image.cpp @@ -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;