From b5f4f5154916143be0e32d3391a59a00412684fb Mon Sep 17 00:00:00 2001 From: Ryan Danbrook Date: Sat, 10 Dec 2016 11:38:36 -0500 Subject: [PATCH] Support for mapper 23.10 --- changelog.txt | 2 ++ source/core/board/NstBoard.cpp | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 79d4649a..a89b32c4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -14,11 +14,13 @@ Shell: libretro: - Added ability to load custom palettes + - Added turbo buttons Core: Additions: - RAM Power-on State setting + - Support for mapper 23.10 Fixes: - VRC2 Mirroring bug (koitsu, lidnariq) diff --git a/source/core/board/NstBoard.cpp b/source/core/board/NstBoard.cpp index 24d262b6..ed6eb29f 100644 --- a/source/core/board/NstBoard.cpp +++ b/source/core/board/NstBoard.cpp @@ -1814,7 +1814,17 @@ namespace Nes case 23: - if (submapper == 15) + if (submapper == 10) + { + Chips::Type& chip = chips.Add(L"Konami VRC IV"); + + chip.Pin(3) = L"PRG A3"; + chip.Pin(4) = L"PRG A2"; + + name = "KONAMI VRC4"; + id = Type::KONAMI_VRC4_0; + } + else if (submapper == 15) { name = "KONAMI VRC2"; id = Type::KONAMI_VRC2;