bool emu_file::part_of_mediapath(astring path) { bool result = false; astring mediapath; m_mediapaths.reset(); while (m_mediapaths.next(mediapath, NULL) && !result) if (path.cmpsubstr(mediapath, 0, mediapath.len())) result = true; return result; }