* fix #2864
* attempt to preserve 2c8295b
behavior
* misc
This commit is contained in:
parent
4b6fc89a71
commit
62fcf9cc1d
|
@ -16,9 +16,10 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="game">Game information of game to load</param>
|
/// <param name="game">Game information of game to load</param>
|
||||||
/// <param name="file">Rom that should be loaded</param>
|
/// <param name="file">Rom that should be loaded</param>
|
||||||
|
/// <param name="rom">rom data with consistent endianness/order</param>
|
||||||
/// <param name="syncSettings">N64SyncSettings object</param>
|
/// <param name="syncSettings">N64SyncSettings object</param>
|
||||||
[CoreConstructor("N64")]
|
[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);
|
ServiceProvider = new BasicServiceProvider(this);
|
||||||
InputCallbacks = new InputCallbackSystem();
|
InputCallbacks = new InputCallbackSystem();
|
||||||
|
@ -44,7 +45,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
|
||||||
IsOverridingUserExpansionSlotSetting = true;
|
IsOverridingUserExpansionSlotSetting = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
byte country_code = file[0x3E];
|
byte country_code = rom[0x3E];
|
||||||
switch (country_code)
|
switch (country_code)
|
||||||
{
|
{
|
||||||
// PAL codes
|
// PAL codes
|
||||||
|
|
Loading…
Reference in New Issue