You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Potential typo in bsnes/sfc/controller/justifier/justifier.cpp. The code contains two groups of similar statements, first group sets properties of player1, second group does the same for player2:
But the last line of the first group contains player2 instead of player1. This might be a bug, not just because of obvious grouping, but also given that the second group contains the same statement player2.start = false; too, and such duplication is unlikely intentional.
The text was updated successfully, but these errors were encountered:
Looks like this change was introduced in v084r05 (6227974), and probably has gone unnoticed for this long because these defaults are immediately overwritten as soon as the game reads the emulated controller state (and bsnes polls its mapped controllers).
I agree with Screwtape; why not turn player1 and player2 into two elements of an array while we're at it? Copypasta is how these kinds of mistakes happen, in my experience.
Potential typo in
bsnes/sfc/controller/justifier/justifier.cpp
. The code contains two groups of similar statements, first group sets properties ofplayer1
, second group does the same forplayer2
:But the last line of the first group contains
player2
instead ofplayer1
. This might be a bug, not just because of obvious grouping, but also given that the second group contains the same statementplayer2.start = false;
too, and such duplication is unlikely intentional.The text was updated successfully, but these errors were encountered: