using System.IO; namespace BizHawk.Emulation.Common { public interface ICoreFileProvider { /// /// Opens a firmware according to the specified firmware ID key /// Stream OpenFirmware(string sysId, string key); /// /// Returns the path to a firmware according to the specified firmware ID key. Use OpenFirmware instead /// string PathFirmware(string sysId, string key); /// /// Produces a path to the requested file, expected to be parallel to the running rom. for example: cue+bin files or sfc+pcm (MSU-1 games) /// string PathSubfile(string fname); } }