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

sfc: Really fix automatic joypad polling, for sure. #171

Merged
merged 1 commit into from
Apr 4, 2021

Conversation

Screwtapello
Copy link
Contributor

@Screwtapello Screwtapello commented Apr 4, 2021

In commit e422ddc, Jonas Quinn updated higan's implementation of the auto-joypad-poll mode. Those fixes were ported to bsnes in commit 39c37ec, but a problem was found with the game "SpellCraft - Aspects of Valor", fixed in bsnes in commit 4f7a269. That fix was back-ported to higan in commit 44cbb88, but that change caused a regression in "Secret of Mana" (issue #170).

This commit (helpfully provided by Jonas Quinn once again) re-ports the bsnes changes back to higan, and the problems should be solved once and for all.

Fixes #170.

@Screwtapello
Copy link
Contributor Author

Since they aren't hyperlinked in the OP, the bsnes commits mentioned are bsnes-emu/bsnes@39c37ec and bsnes-emu/bsnes@4f7a269.

In commit e422ddc, Jonas Quinn updated higan's implementation of the auto-
joypad-poll mode. Those fixes were ported to bsnes in commit 39c37ec, but a
problem was found with the game "SpellCraft - Aspects of Valor", fixed in bsnes
in commit 4f7a269. That fix was back-ported to higan in commit 44cbb88, but
that change caused a regression in "Secret of Mana" (issue higan-emu#170).

This commit (helpfully provided by Jonas Quinn once again) re-ports the bsnes
changes back to higan, and the problems should be solved once and for all.

Fixes higan-emu#170.
@Screwtapello
Copy link
Contributor Author

The list of games known to be sensitive to auto-joypad-polling behaviour is not currently online (it used to be on byuu.net), but I have a local copy. Running through the list with the current master (44cbb88):

Game master (44cbb88) this PR (5ed2e8f)
Nuke (PD)
Secret of Mana (USA)
SpellCraft - Acts of Valor (USA) (Proto) ?
Super Conflict (USA)
Super Star Wars (USA)
Taikyoku Igo - Goliath (Japan)
Tatakae Genshijin 2 (Japan) (En)
Williams Arcade's Greatest Hits (USA)
World Masters Golf (Europe)

This PR fixes the problem with Secret of Mana, but it also regresses(?) SpellCraft. Specifically, it introduces the same problem bsnes has (bsnes-emu/bsnes#172) so at least they're consistent now.

@Screwtapello
Copy link
Contributor Author

After some investigation on the bsnes side, and discussion with Jonas, I believe the new behaviour is how it's supposed to be, so I'll merge this.

@Screwtapello Screwtapello merged commit 9a625c5 into higan-emu:master Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Graphical corruption/flickering when riding a dragon in Secret of Mana (USA)
1 participant