fix A7800 rom loading - remove unused and legacy .csv gamedb path, and convert to use CoreInventory
This commit is contained in:
parent
c830452775
commit
71698d5571
|
@ -986,10 +986,6 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
}
|
||||
break;
|
||||
case "A78":
|
||||
var gameDbPath = Path.Combine(PathUtils.ExeDirectoryPath, "gamedb", "gamedb_a7800.csv");
|
||||
nextEmulator = new A7800Hawk(nextComm, game, rom.RomData, gameDbPath, GetCoreSettings<A7800Hawk>(), GetCoreSyncSettings<A7800Hawk>());
|
||||
break;
|
||||
case "C64":
|
||||
var c64 = new C64(nextComm, Enumerable.Repeat(rom.FileData, 1), rom.GameInfo, GetCoreSettings<C64>(), GetCoreSyncSettings<C64>());
|
||||
nextEmulator = c64;
|
||||
|
|
|
@ -71,7 +71,8 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
|
|||
public void WriteMemory(ushort address, byte value) => _a7800.WriteMemory(address, value);
|
||||
}
|
||||
|
||||
public A7800Hawk(CoreComm comm, GameInfo game, byte[] rom, string gameDbFn, object settings, object syncSettings)
|
||||
[CoreConstructor("A78")]
|
||||
public A7800Hawk(CoreComm comm, byte[] rom, object settings, object syncSettings)
|
||||
{
|
||||
var ser = new BasicServiceProvider(this);
|
||||
|
||||
|
|
Loading…
Reference in New Issue