TASEmulators / TASEmulators/BizHawk

mame: move dip switches to regular input

Open
#3,757 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Core: MAME
Dominant language
C#
Stars
2.8k
Forks
468
PR merge metrics
No merged PRs in 30d

Description

Initially I thought having them as sync settings would be enough, but for games that only let you configure them based on switch positions, that requires a workaround of subtituting saveram and sync settings to simulate hard reset. More details here:
https://tasvideos.org/Forum/Posts/524851

So it seems it would make sense to move dip switches to regular input just like they are in actual mame. And that also involves adding some way to hard-reset the machine (mame has that command but I don't remember if it's exposed via hotkeys, maybe only lua).

see also #3203

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the discussion at the linked TASVideos forum post and issue #3203, then locate BizHawk's current DIP-switch sync settings and regular-input handling. Investigate how hard reset is exposed and how MAME models these controls. Done means DIP switches behave as regular inputs and the required hard-reset workflow is available, with behavior verified for the affected games.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.