public override int GetRomIndex(RomId romId) { switch (romId) { case RomId.ROM_SOS: return(0x1C); case RomId.ROM_DOS: return(0x1D); case RomId.ROM_128: return(0x1E); case RomId.ROM_SYS: return(0x1F); } throw new NotImplementedException(); }
public override int GetRomIndex(RomId romId) { switch (romId) { case RomId.ROM_128: return(0); case RomId.ROM_SOS: return(1); case RomId.ROM_DOS: return(2); case RomId.ROM_SYS: return(3); } Logger.Error("Unknown RomName: {0}", romId); throw new InvalidOperationException("Unknown RomName"); }
public abstract int GetRomIndex(RomId romId);
public override int GetRomIndex(RomId romId) { return(0); }