Fix typo in SMS ctor that caused NREs

fixes bcd47a1ad
This commit is contained in:
YoshiRulz 2021-08-01 11:09:09 +10:00
parent 9d8a80026e
commit f92387e134
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 2 additions and 2 deletions

View File

@ -214,10 +214,10 @@ namespace BizHawk.Emulation.Cores.Sega.MasterSystem
ser.Register<ISmsGpuView>(new SmsGpuView(Vdp));
}
_controllerDeck = new SMSControllerDeck(syncSettings.Port1, syncSettings.Port2, IsGameGear_C, syncSettings.UseKeyboard);
_controllerDeck = new SMSControllerDeck(SyncSettings.Port1, SyncSettings.Port2, IsGameGear_C, SyncSettings.UseKeyboard);
// Sorta a hack but why not
PortDEEnabled = syncSettings.UseKeyboard && !IsGameGear_C;
PortDEEnabled = SyncSettings.UseKeyboard && !IsGameGear_C;
_controllerDeck.SetRegion(_controller, _region == SmsSyncSettings.Regions.Japan);
}