Skip to content

Commit

Permalink
NES: Fixed mapper 184, Sunsoft 1
Browse files Browse the repository at this point in the history
The most significant bit of H is always set in hardware. (i.e. its range is 4 to 7)

https://www.nesdev.org/wiki/INES_Mapper_184
  • Loading branch information
BrokeStudio committed Feb 7, 2024
1 parent 5c2c3a4 commit be0a116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/NES/Mappers/Sunsoft/Sunsoft184.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ class Sunsoft184 : public BaseMapper
SelectChrPage(0, value & 0x07);

//"The most significant bit of H is always set in hardware."
SelectChrPage(1, 0x80 | ((value >> 4) & 0x07));
SelectChrPage(1, 0x04 | ((value >> 4) & 0x07));
}
};

0 comments on commit be0a116

Please sign in to comment.