Commit 8ca81093 authored by Brad Parker's avatar Brad Parker
Browse files

cdrom: fix cue handling

parent 2d050ee5
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment