From be0a116d237ecee7236a4c9acacb872dfc3a7357 Mon Sep 17 00:00:00 2001 From: BrokeStudio Date: Wed, 7 Feb 2024 09:10:23 +0100 Subject: [PATCH] NES: Fixed mapper 184, Sunsoft 1 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 --- Core/NES/Mappers/Sunsoft/Sunsoft184.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/NES/Mappers/Sunsoft/Sunsoft184.h b/Core/NES/Mappers/Sunsoft/Sunsoft184.h index 7a5402e59..1e1031e6d 100644 --- a/Core/NES/Mappers/Sunsoft/Sunsoft184.h +++ b/Core/NES/Mappers/Sunsoft/Sunsoft184.h @@ -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)); } }; \ No newline at end of file