Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SMSHAWK] Selecting the Phaser as controller for Player 1 or 2 will throw an exception #3282

Closed
Glitcholog opened this issue Jun 18, 2022 · 0 comments
Labels
Core: SMSHawk Sega Master System (SMS) / Sega Game Gear (GG) core Repro: Fixed/added in 2.9 Repro: Regression from 2.7

Comments

@Glitcholog
Copy link

Glitcholog commented Jun 18, 2022

Description
Selecting the Phaser as controller for Player 1 or 2 will throw an exception and prevent playing SMS games unless the config.ini is reseted.

Steps

  1. Load any Sega Master System game
  2. Go to SMS -> Settings
  3. Go to Sync Settings and set either Player 1 or Player 2 controller as the Phaser
  4. Doing so will throw the error and prevent playing any SMS unless the config.ini is reseted or changed manually

Output

A core accepted the rom, but threw an exception while loading it:
System.InvalidOperationException: this AxisDict has been built and sealed and may not be mutated
   at BizHawk.Emulation.Common.AxisDict.AssertMutable()
   at BizHawk.Emulation.Cores.Sega.MasterSystem.SMSControllerDeck..ctor(SMSControllerTypes controller1, SMSControllerTypes controller2, Boolean is_GG, Boolean use_keyboard)
   at BizHawk.Emulation.Cores.Sega.MasterSystem.SMS..ctor(CoreComm comm, GameInfo game, Byte[] rom, SmsSettings settings, SmsSyncSettings syncSettings)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at BizHawk.Emulation.Cores.CoreInventory.Core.Create(ICoreInventoryParameters cip)
   at BizHawk.Client.Common.RomLoader.MakeCoreFromCoreInventory(CoreInventoryParameters cip, String forcedCoreName)

OK

Host environment

  • BizHawk 2.8; Win10 Pro 21H2 Intel/Nvidia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core: SMSHawk Sega Master System (SMS) / Sega Game Gear (GG) core Repro: Fixed/added in 2.9 Repro: Regression from 2.7
Projects
None yet
Development

No branches or pull requests

2 participants