Skip to content

Commit

Permalink
Cleanup mapper287
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Feb 27, 2024
1 parent 8e90411 commit 9fe4033
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/mappers/mapper287.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,8 @@ static SFORMAT StateRegs[] = {
};

static void BMCK3088CCW(uint16 A, uint16 V) {
#if 1
uint16 base = reg & 0x07;
setchr1(A, (base << 7) | (V & 0x7F));
#else
setchr1(A, V | ((reg & 0x07) << 7));
#endif
}

static void BMCK3088CPW(uint16 A, uint16 V) {
Expand All @@ -59,12 +55,8 @@ static void BMCK3088CPW(uint16 A, uint16 V) {
}

static void BMC411120CCW(uint16 A, uint16 V) {
#if 1
uint16 base = reg & 0x07;
setchr1(A, V | (base << 7));
#else
setchr1(A, V | ((reg & 0x03) << 7));
#endif
}

static void BMC411120CPW(uint16 A, uint16 V) {
Expand All @@ -77,17 +69,9 @@ static void BMC411120CPW(uint16 A, uint16 V) {
}

static void BMC411120CLoWrite(uint16 A, uint8 V) {
#if 0
if (MMC3_WramIsWritable()) {
reg = A;
MMC3_FixPRG();
MMC3_FixCHR();
}
#else
reg = A;
MMC3_FixPRG();
MMC3_FixCHR();
#endif
}

static void BMC411120CReset(void) {
Expand Down

0 comments on commit 9fe4033

Please sign in to comment.