Skip to content

Commit

Permalink
Merge pull request #28 from isharacomix/patch-1
Browse files Browse the repository at this point in the history
Update mappers.js
  • Loading branch information
bfirsh committed Jun 15, 2013
2 parents 00aef06 + 2fd0f72 commit a5526ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/mappers.js
Expand Up @@ -250,7 +250,7 @@ JSNES.Mappers[0].prototype = {

case 0x4016:
// Joystick 1 + Strobe
if (value === 0 && this.joypadLastWrite === 1) {
if ((value&1) === 0 && (this.joypadLastWrite&1) === 1) {
this.joy1StrobeState = 0;
this.joy2StrobeState = 0;
}
Expand Down

0 comments on commit a5526ed

Please sign in to comment.