diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs index 40fc52c6a5..5fed267416 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs @@ -16,9 +16,10 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64 /// /// Game information of game to load /// Rom that should be loaded + /// rom data with consistent endianness/order /// N64SyncSettings object [CoreConstructor("N64")] - public N64(GameInfo game, byte[] file, N64Settings settings, N64SyncSettings syncSettings) + public N64(GameInfo game, byte[] file, byte[] rom, N64Settings settings, N64SyncSettings syncSettings) { ServiceProvider = new BasicServiceProvider(this); InputCallbacks = new InputCallbackSystem(); @@ -44,7 +45,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64 IsOverridingUserExpansionSlotSetting = true; } - byte country_code = file[0x3E]; + byte country_code = rom[0x3E]; switch (country_code) { // PAL codes