From a59793b55bf6ce4d120ac02af103412b3e149527 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 7 Sep 2014 00:23:15 +0000 Subject: [PATCH] N64 - Support getting an expansion slot flag from the gamedb, and set Majora's Mask and Donkey Kong 64 to use it --- BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs index c1e4ad7c6f..7b8844a060 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs @@ -61,6 +61,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64 _syncSettings = (N64SyncSettings)syncSettings ?? new N64SyncSettings(); _settings = (N64Settings)settings ?? new N64Settings(); + + if (game.OptionValue("expansionpak") != null && game.OptionValue("expansionpak") == "1") + { + _syncSettings.DisableExpansionSlot = false; + } + byte country_code = rom[0x3E]; switch (country_code) {