From d14b2aa0cf26c5132ea18295e7bfa35e16efea33 Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Thu, 17 Feb 2022 16:02:40 +0800 Subject: [PATCH 1/8] Add mappers 326, 330 --- src/boards/326.c | 98 +++++++++++++++++++++++++++++++++ src/boards/330.c | 137 +++++++++++++++++++++++++++++++++++++++++++++++ src/ines.c | 2 + src/ines.h | 2 + 4 files changed, 239 insertions(+) create mode 100644 src/boards/326.c create mode 100644 src/boards/330.c diff --git a/src/boards/326.c b/src/boards/326.c new file mode 100644 index 0000000..d15a6ff --- /dev/null +++ b/src/boards/326.c @@ -0,0 +1,98 @@ +/* FCE Ultra - NES/Famicom Emulator + * + * Copyright notice for this file: + * Copyright (C) 2022 negativeExponent + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * NES 2.0 Mapper 326 is used for a bootleg version of Contra/Gryzor. + * as implemented from + * http://forums.nesdev.org/viewtopic.php?f=9&t=17352&p=218722#p218722 + */ + +#include "mapinc.h" + +static uint8 PRG[3], CHR[8], NTAPage[4]; + +static SFORMAT StateRegs[] = +{ + { PRG, 3, "PRG" }, + { CHR, 8, "CHR" }, + { NTAPage, 4, "NT" }, + { 0 } +}; + +static void SyncPRG(void) { + setprg8(0x8000, PRG[0]); + setprg8(0xA000, PRG[1]); + setprg8(0xC000, PRG[2]); + setprg8(0xE000, ~0); +} + +static void DoCHR(int x, uint8 V) { + CHR[x] = V; + setchr1(x << 10, V); +} + +static void FixCHR(void) { + int x; + for (x = 0; x < 8; x++) + DoCHR(x, CHR[x]); +} + +static void FASTAPASS(2) DoNTARAM(int w, uint8 V) { + NTAPage[w] = V; + setntamem(NTARAM + ((V & 1) << 10), 1, w); +} + +static void FixNTAR(void) { + int x; + for (x = 0; x < 4; x++) + DoNTARAM(x, NTAPage[x]); +} + +static DECLFW(M326Write) { + switch (A & 0xE010) { + case 0x8000: PRG[0] = V; SyncPRG(); break; + case 0xA000: PRG[1] = V; SyncPRG(); break; + case 0xC000: PRG[2] = V; SyncPRG(); break; + } + + A &= 0x801F; + if ((A >= 0x8010) && (A <= 0x8017)) + DoCHR(A - 0x8010, V); + else if ((A >= 0x8018) && (A <= 0x801B)) + DoNTARAM(A - 0x8018, V); +} + +static void M326Power(void) { + SyncPRG(); + FixCHR(); + FixNTAR(); + SetReadHandler(0x8000, 0xFFFF, CartBR); + SetWriteHandler(0x8000, 0xFFFF, M326Write); +} + +static void StateRestore(int version) { + SyncPRG(); + FixCHR(); + FixNTAR(); +} + +void Mapper326_Init(CartInfo *info) { + info->Power = M326Power; + GameStateRestore = StateRestore; + AddExState(&StateRegs, ~0, 0, 0); +} diff --git a/src/boards/330.c b/src/boards/330.c new file mode 100644 index 0000000..e2012c6 --- /dev/null +++ b/src/boards/330.c @@ -0,0 +1,137 @@ +/* FCE Ultra - NES/Famicom Emulator + * + * Copyright notice for this file: + * Copyright (C) 2022 negativeExponent + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * NES 2.0 Mapper 330 is used for a bootleg version of Contra/Gryzor. + * as implemented from + * http://forums.nesdev.org/viewtopic.php?f=9&t=17352&p=218722#p218722 + */ + +#include "mapinc.h" + +static uint8 *WRAM; + +static uint8 PRG[3], CHR[8], NTAPage[4]; +static uint8 IRQa; +static uint16 IRQCount; + +static SFORMAT StateRegs[] = +{ + { PRG, 3, "PRG" }, + { CHR, 8, "CHR" }, + { NTAPage, 4, "NT" }, + { &IRQa, 1, "IRQA" }, + { &IRQCount, 2, "IRQC" }, + { 0 } +}; + +static void SyncPRG(void) { + setprg8(0x8000, PRG[0]); + setprg8(0xA000, PRG[1]); + setprg8(0xC000, PRG[2]); + setprg8(0xE000, ~0); +} + +static void DoCHR(int x, uint8 V) { + CHR[x] = V; + setchr1(x << 10, V); +} + +static void FixCHR(void) { + int x; + for (x = 0; x < 8; x++) + DoCHR(x, CHR[x]); +} + +static void FASTAPASS(2) DoNTARAM(int w, uint8 V) { + NTAPage[w] = V; + setntamem(NTARAM + ((V & 1) << 10), 1, w); +} + +static void FixNTAR(void) { + int x; + for (x = 0; x < 4; x++) + DoNTARAM(x, NTAPage[x]); +} + +static DECLFW(M330Write) { + if (!(A & 0x400)) { + if (A >= 0x8000 && A <= 0xB800) + DoCHR((A - 0x8000) >> 11, V); + else if (A >= 0xC000 && A <= 0xD800) + DoNTARAM((A - 0xC000) >> 11, V); + else if (A >= 0xE000 && A <= 0xF000) { + PRG[(A - 0xE000) >> 11] = V; + SyncPRG(); + } + } else if ((A < 0xC000) && !(A & 0x4000)) { + if (A & 0x2000) { + IRQCount &= 0x00FF; + IRQCount |= (V & 0x7F) << 8; + IRQa = V & 0x80; + X6502_IRQEnd(FCEU_IQEXT); + } else { + IRQCount &= 0xFF00; + IRQCount |= V; + } + } +} + +static void M330Power(void) { + int i; + for (i = 0; i < 4; i++) + PRG[i] = i; + for (i = 0; i < 8; i++) + CHR[i] = i; + for (i = 0; i < 4; i++) + NTAPage[i] = ~0; + IRQa = 0; + IRQCount = 0; + SyncPRG(); + FixCHR(); + FixNTAR(); + SetReadHandler(0x6000, 0xFFFF, CartBR); + SetWriteHandler(0x8000, 0xFFFF, M330Write); +} + +static void FP_FASTAPASS(1) M330IRQHook(int a) { + if (IRQa) { + IRQCount += a; + if (IRQCount > 0x7FFF) { + X6502_IRQBegin(FCEU_IQEXT); + IRQa = 0; + IRQCount = 0; + } + } +} + +static void StateRestore(int version) { + SyncPRG(); + FixCHR(); + FixNTAR(); +} + +void Mapper330_Init(CartInfo *info) { + info->Power = M330Power; + MapIRQHook = M330IRQHook; + GameStateRestore = StateRestore; + AddExState(&StateRegs, ~0, 0, 0); + WRAM = (uint8 *)FCEU_gmalloc(8192); + SetupCartPRGMapping(0x10, WRAM, 8192, 1); + AddExState(WRAM, 8192, 0, "WRAM"); +} diff --git a/src/ines.c b/src/ines.c index 575ac88..a29539e 100644 --- a/src/ines.c +++ b/src/ines.c @@ -730,9 +730,11 @@ INES_BOARD_BEGIN() INES_BOARD( "FARID_SLROM_8-IN-1", 323, FARIDSLROM8IN1_Init ) INES_BOARD( "FARID_UNROM_8-IN-1", 324, FARIDUNROM_Init ) INES_BOARD( "MALISB", 325, UNLMaliSB_Init ) + INES_BOARD( "Contra/Gryzor", 326, Mapper326_Init ) INES_BOARD( "10-24-C-A1", 327, BMC1024CA1_Init ) INES_BOARD( "RT-01", 328, UNLRT01_Init ) INES_BOARD( "EDU2000", 329, UNLEDU2000_Init ) + INES_BOARD( "Sangokushi II: Haō no Tairiku", 330, Mapper330_Init ) INES_BOARD( "12-IN-1", 331, BMC12IN1_Init ) INES_BOARD( "WS", 332, BMCWS_Init ) INES_BOARD( "NEWSTAR-GRM070-8IN1", 333, BMC8IN1_Init ) diff --git a/src/ines.h b/src/ines.h index 0671d68..2b70cb9 100644 --- a/src/ines.h +++ b/src/ines.h @@ -264,6 +264,8 @@ void Mapper288_Init(CartInfo *); void Mapper293_Init(CartInfo *); void Mapper297_Init(CartInfo *); void Mapper319_Init(CartInfo *); +void Mapper326_Init(CartInfo *); +void Mapper330_Init(CartInfo *); void Mapper334_Init(CartInfo *); void Mapper353_Init(CartInfo *); void Mapper356_Init(CartInfo *); From ea0e198cf966a2e72cdf4e4659f4131cf259b209 Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Fri, 18 Feb 2022 19:45:05 +0800 Subject: [PATCH 2/8] Update m285/BMC-A65AS --- src/boards/datalatch.c | 21 +++++++++++---------- src/unif.c | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/boards/datalatch.c b/src/boards/datalatch.c index c86d585..d5fa8f5 100644 --- a/src/boards/datalatch.c +++ b/src/boards/datalatch.c @@ -512,33 +512,34 @@ void Mapper538_Init(CartInfo *info) { * mode (one screen) and 32K bankswitching, second one have only * 16 bankswitching mode and normal mirroring... But there is no any * correlations between modes and they can be used in one mapper code. + * + * Submapper 0 - 3-in-1 (N068) + * Submapper 0 - 3-in-1 (N080) + * Submapper 1 - 4-in-1 (JY-066) */ + static int A65ASsubmapper; static void BMCA65ASSync(void) { if (latche & 0x40) setprg32(0x8000, (latche >> 1) & 0x0F); else { if (A65ASsubmapper == 1) { - setprg16(0x8000, ((latche & 0x38) >> 0) | (latche & 7)); - setprg16(0xC000, ((latche & 0x38) >> 0) | 7); - } else { setprg16(0x8000, ((latche & 0x30) >> 1) | (latche & 7)); setprg16(0xC000, ((latche & 0x30) >> 1) | 7); + } else { + setprg16(0x8000, latche & 0x0F); + setprg16(0xC000, latche & 0x0F | 7); } } setchr8(0); if (latche & 0x80) setmirror(MI_0 + (((latche >> 5) & 1))); - else { - if (A65ASsubmapper == 1) /* added as workaround since games for this cart uses vertical mirroring */ - setmirror(MI_V); - else - setmirror(((latche >> 3) & 1) ^ 1); - } + else + setmirror(((latche >> 3) & 1) ^ 1); } void BMCA65AS_Init(CartInfo *info) { - A65ASsubmapper = info->submapper; /* not a real submapper */ + A65ASsubmapper = info->submapper; Latch_Init(info, BMCA65ASSync, 0, 0x8000, 0xFFFF, 0, 0); } diff --git a/src/unif.c b/src/unif.c index 5ce0560..502351c 100644 --- a/src/unif.c +++ b/src/unif.c @@ -364,7 +364,7 @@ struct _unif_db { }; static struct _unif_db unif_db[] = { - { 0x8ebad077d08e6c78ULL, "A65AS", 1, -1, -1 }, /* 3-in-1 (N080) [p1][U][!], not a real submapper */ + { 0x03ed6963ca50e1d8ULL, "A65AS", 1, -1, -1 }, { 0x616851e56946893bULL, "RESETNROM-XIN1", 0, MI_V, -1 }, /* Sheng Tian 2-in-1(Unl,ResetBase)[p1].unf */ { 0x4cd729b5ae23a3cfULL, "RESETNROM-XIN1", 0, MI_H, -1 }, /* Sheng Tian 2-in-1(Unl,ResetBase)[p2].unf */ From ed91566fd3aef739f8303e06cb5fa9534732b9c2 Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Fri, 18 Feb 2022 20:52:11 +0800 Subject: [PATCH 3/8] m297: Fix mapper mode not applied when loading save state' --- src/boards/mmc1.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/boards/mmc1.c b/src/boards/mmc1.c index 126364a..9b6ae68 100644 --- a/src/boards/mmc1.c +++ b/src/boards/mmc1.c @@ -549,11 +549,16 @@ static void M297Power(void) { SetWriteHandler(0x8000, 0xFFFF, M297Latch); } +static void M297StateRestore(void) { + Sync(); +} + void Mapper297_Init(CartInfo *info) { GenMMC1Init(info, 256, 256, 0, 0); info->Power = M297Power; MMC1CHRHook4 = M297CHR; MMC1PRGHook16 = M297PRG; + GameStateRestore = M297StateRestore; AddExState(&latch, 1, 0, "LATC"); AddExState(&mode, 1, 0, "MODE"); } From 560b3a7093a7ec3735058c1aa26dfed814fc501e Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Fri, 18 Feb 2022 21:05:50 +0800 Subject: [PATCH 4/8] Add mapper 271 --- src/boards/datalatch.c | 12 ++++++++++++ src/ines.c | 1 + src/ines.h | 1 + src/unif.c | 1 + 4 files changed, 15 insertions(+) diff --git a/src/boards/datalatch.c b/src/boards/datalatch.c index d5fa8f5..7b1007c 100644 --- a/src/boards/datalatch.c +++ b/src/boards/datalatch.c @@ -460,6 +460,18 @@ void Mapper241_Init(CartInfo *info) { Latch_Init(info, M241Sync, 0, 0x8000, 0xFFFF, 1, 0); } +/*------------------ Map 271 ---------------------------*/ + +static void M271Sync(void) { + setchr8(latche & 0x0F); + setprg32(0x8000, latche >> 4); + setmirror((latche >> 5) & 1); +} + +void Mapper271_Init(CartInfo *info) { + Latch_Init(info, M271Sync, 0, 0x8000, 0xFFFF, 0, 0); +} + /*------------------ Map 381 ---------------------------*/ /* 2-in-1 High Standard Game (BC-019), reset-based */ static uint8 reset = 0; diff --git a/src/ines.c b/src/ines.c index a29539e..524475e 100644 --- a/src/ines.c +++ b/src/ines.c @@ -691,6 +691,7 @@ INES_BOARD_BEGIN() INES_BOARD( "8-in-1 JY-119", 267, Mapper267_Init ) INES_BOARD( "COOLBOY/MINDKIDS", 268, Mapper268_Init ) /* Submapper distinguishes between COOLBOY and MINDKIDS */ INES_BOARD( "Games Xplosion 121-in-1", 269, Mapper269_Init ) + INES_BOARD( "MGC-026", 271, Mapper271_Init ) INES_BOARD( "Akumajō Special: Boku Dracula-kun", 272, Mapper272_Init ) INES_BOARD( "80013-B", 274, BMC80013B_Init ) INES_BOARD( "YY860417C", 281, Mapper281_Init ) diff --git a/src/ines.h b/src/ines.h index 2b70cb9..bfcf03c 100644 --- a/src/ines.h +++ b/src/ines.h @@ -260,6 +260,7 @@ void J2282_Init(CartInfo *); void Mapper267_Init(CartInfo *); void Mapper268_Init(CartInfo *); void Mapper269_Init(CartInfo *); +void Mapper271_Init(CartInfo *); void Mapper288_Init(CartInfo *); void Mapper293_Init(CartInfo *); void Mapper297_Init(CartInfo *); diff --git a/src/unif.c b/src/unif.c index 502351c..827c82b 100644 --- a/src/unif.c +++ b/src/unif.c @@ -620,6 +620,7 @@ static BMAPPING bmap[] = { { "BS-400R", 422, Mapper422_Init, 0 }, { "BS-4040R", 422, Mapper422_Init, 0 }, + { "22026", 271, Mapper271_Init, 0 }, #ifdef COPYFAMI { "COPYFAMI_MMC3", NO_INES, MapperCopyFamiMMC3_Init, 0 }, From 40d5c973d760142dbe6a14298cf65043c16a8fba Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Fri, 18 Feb 2022 21:07:02 +0800 Subject: [PATCH 5/8] Fix warnings --- src/boards/396.c | 2 +- src/boards/mmc1.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boards/396.c b/src/boards/396.c index ba4ae79..0e916c4 100644 --- a/src/boards/396.c +++ b/src/boards/396.c @@ -51,7 +51,7 @@ static void M396Reset(void) { Sync(); } -static void StateRestore(void) { +static void StateRestore(int version) { Sync(); } diff --git a/src/boards/mmc1.c b/src/boards/mmc1.c index 9b6ae68..1338759 100644 --- a/src/boards/mmc1.c +++ b/src/boards/mmc1.c @@ -549,7 +549,7 @@ static void M297Power(void) { SetWriteHandler(0x8000, 0xFFFF, M297Latch); } -static void M297StateRestore(void) { +static void M297StateRestore(int version) { Sync(); } From 53457d0928610289cebcabc01bf6d6f918e3e3cd Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Sat, 19 Feb 2022 02:09:56 +0800 Subject: [PATCH 6/8] Add mapper 375 --- src/boards/375.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++ src/ines.c | 1 + src/ines.h | 1 + 3 files changed, 127 insertions(+) create mode 100644 src/boards/375.c diff --git a/src/boards/375.c b/src/boards/375.c new file mode 100644 index 0000000..93d9ec1 --- /dev/null +++ b/src/boards/375.c @@ -0,0 +1,125 @@ +/* FCEUmm - NES/Famicom Emulator + * + * Copyright notice for this file: + * Copyright (C) 2022 negativeExponent + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#include "mapinc.h" + +static uint8 *WRAM = NULL; +static uint32 WRAMSIZE; + +static uint16 addrlatch; +static uint8 datalatch; + +static void Sync(void) { + uint32 S = addrlatch & 1; + uint32 p = ((addrlatch >> 2) & 0x1F) + ((addrlatch & 0x100) >> 3) + ((addrlatch & 0x400) >> 4); + uint32 L = (addrlatch >> 9) & 1; + uint32 p_8000 = p; + + if ((addrlatch >> 11) & 1) + p_8000 = (p & 0x7E) | (datalatch & 7); + + if ((addrlatch >> 7) & 1) { + if (S) { + setprg32(0x8000, p >> 1); + } else { + setprg16(0x8000, p_8000); + setprg16(0xC000, p); + } + } else { + if (S) { + if (L) { + setprg16(0x8000, p_8000 & 0x7E); + setprg16(0xC000, p | 7); + } else { + setprg16(0x8000, p_8000 & 0x7E); + setprg16(0xC000, p & 0x78); + } + } else { + if (L) { + setprg16(0x8000, p_8000); + setprg16(0xC000, p | 7); + } else { + setprg16(0x8000, p_8000); + setprg16(0xC000, p & 0x78); + } + } + } + + if ((addrlatch & 0x80) == 0x80) + /* CHR-RAM write protect hack, needed for some multicarts */ + SetupCartCHRMapping(0, CHRptr[0], 0x2000, 0); + else + SetupCartCHRMapping(0, CHRptr[0], 0x2000, 1); + + setmirror(((addrlatch >> 1) & 1) ^ 1); + setchr8(0); + setprg8r(0x10, 0x6000, 0); +} + +static DECLFR(M375Read) { + return CartBR(A); +} + +static DECLFW(M375Write) { + if (addrlatch & 0x800) + datalatch = V; + else { + addrlatch = A; + datalatch = V; + } + Sync(); +} + +static void M375Reset(void) { + addrlatch = 0; + datalatch = 0; + Sync(); +} + +static void M375Power(void) { + addrlatch = 0; + datalatch = 0; + Sync(); + setchr8(0); + SetReadHandler(0x8000, 0xFFFF, CartBR); + SetWriteHandler(0x8000, 0xFFFF, M375Write); + if (WRAMSIZE) { + SetReadHandler(0x6000, 0xFFFF, CartBR); + SetWriteHandler(0x6000, 0x7FFF, CartBW); + FCEU_CheatAddRAM(WRAMSIZE >> 10, 0x6000, WRAM); + } +} + +static void StateRestore(int version) { + Sync(); +} + +void Mapper375_Init(CartInfo *info) { + info->Power = M375Power; + info->Reset = M375Reset; + GameStateRestore = StateRestore; + AddExState(&addrlatch, 2, 0, "ADDR"); + AddExState(&datalatch, 1, 0, "DATA"); + + WRAMSIZE = 8192; + WRAM = (uint8*)FCEU_gmalloc(WRAMSIZE); + SetupCartPRGMapping(0x10, WRAM, WRAMSIZE, 1); + AddExState(WRAM, WRAMSIZE, 0, "WRAM"); +} diff --git a/src/ines.c b/src/ines.c index 524475e..37b3d1c 100644 --- a/src/ines.c +++ b/src/ines.c @@ -769,6 +769,7 @@ INES_BOARD_BEGIN() INES_BOARD( "Golden Mario Party II - Around the World 6-in-1", 370, Mapper370_Init ) INES_BOARD( "MMC3 PIRATE SFC-12", 372, Mapper372_Init ) INES_BOARD( "95/96 Super HiK 4-in-1", 374, Mapper374_Init ) + INES_BOARD( "135-in-1", 375, Mapper375_Init ) INES_BOARD( "YY841155C", 376, Mapper376_Init ) INES_BOARD( "JY-111/JY-112", 377, Mapper377_Init ) INES_BOARD( "42 to 80,000 (970630C)", 380, Mapper380_Init ) diff --git a/src/ines.h b/src/ines.h index bfcf03c..6307777 100644 --- a/src/ines.h +++ b/src/ines.h @@ -280,6 +280,7 @@ void Mapper369_Init(CartInfo *); void Mapper370_Init(CartInfo *); void Mapper372_Init(CartInfo *); void Mapper374_Init(CartInfo *); +void Mapper375_Init(CartInfo *); void Mapper376_Init(CartInfo *); void Mapper377_Init(CartInfo *); void Mapper380_Init(CartInfo *); From 395a3df24c41ebf42d0eed0412fc0d416fd9d3bf Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Sat, 19 Feb 2022 02:23:06 +0800 Subject: [PATCH 7/8] Add mapper 385 --- src/boards/addrlatch.c | 15 +++++++++++++++ src/ines.c | 1 + src/ines.h | 1 + 3 files changed, 17 insertions(+) diff --git a/src/boards/addrlatch.c b/src/boards/addrlatch.c index 43946bf..31235eb 100644 --- a/src/boards/addrlatch.c +++ b/src/boards/addrlatch.c @@ -544,6 +544,21 @@ void Mapper288_Init(CartInfo *info) { AddExState(&dipswitch, 1, 0, "DIPSW"); } +/*------------------ Map 385 ---------------------------*/ + +static void M385Sync(void) { + int32 mirror = latche & 1; + int32 bank = (latche >> 1) & 0x7; + setprg16(0x8000, bank); + setprg16(0xc000, bank); + setmirror(mirror ^ 1); + setchr8(0); +} + +void Mapper385_Init(CartInfo *info) { + Latch_Init(info, M385Sync, NULL, 0x0000, 0x8000, 0xFFFF, 0); +} + /*------------------ Map 541 ---------------------------*/ /* LittleCom 160-in-1 multicart */ static void M541Sync(void) { diff --git a/src/ines.c b/src/ines.c index 37b3d1c..5569851 100644 --- a/src/ines.c +++ b/src/ines.c @@ -776,6 +776,7 @@ INES_BOARD_BEGIN() INES_BOARD( "KN-42", 381, Mapper381_Init ) INES_BOARD( "830928C", 382, Mapper382_Init ) INES_BOARD( "YY840708C", 383, Mapper383_Init ) + INES_BOARD( "NTDEC 2779", 385, Mapper385_Init ) INES_BOARD( "YY860729C", 386, Mapper386_Init ) INES_BOARD( "YY850735C", 387, Mapper387_Init ) INES_BOARD( "YY850835C", 388, Mapper388_Init ) diff --git a/src/ines.h b/src/ines.h index 6307777..b57e80e 100644 --- a/src/ines.h +++ b/src/ines.h @@ -287,6 +287,7 @@ void Mapper380_Init(CartInfo *); void Mapper381_Init(CartInfo *); void Mapper382_Init(CartInfo *); void Mapper383_Init(CartInfo *); +void Mapper385_Init(CartInfo *); void Mapper386_Init(CartInfo *); void Mapper387_Init(CartInfo *); void Mapper388_Init(CartInfo *); From c42a1d8a8e4af4ba5d9b81233017c0d894a57e1c Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Sun, 20 Feb 2022 06:46:45 +0800 Subject: [PATCH 8/8] Update --- src/boards/208.c | 2 +- src/boards/218.c | 2 +- src/boards/225.c | 2 +- src/boards/235.c | 2 +- src/boards/267.c | 2 +- src/boards/269.c | 2 +- src/boards/272.c | 2 +- src/boards/291.c | 2 +- src/boards/293.c | 2 +- src/boards/326.c | 2 +- src/boards/330.c | 2 +- src/boards/334.c | 2 +- src/boards/353.c | 2 +- src/boards/356.c | 2 +- src/boards/357.c | 2 +- src/boards/359.c | 2 +- src/boards/360.c | 2 +- src/boards/364.c | 2 +- src/boards/368.c | 2 +- src/boards/369.c | 2 +- src/boards/370.c | 2 +- src/boards/372.c | 4 ++-- src/boards/375.c | 2 +- src/boards/377.c | 2 +- src/boards/380.c | 2 +- src/boards/382.c | 2 +- src/boards/389.c | 2 +- src/boards/390.c | 2 +- src/boards/393.c | 2 +- src/boards/395.c | 2 +- src/boards/396.c | 2 +- src/boards/401.c | 2 +- src/boards/403.c | 2 +- src/boards/410.c | 2 +- src/boards/411.c | 2 +- src/boards/414.c | 2 +- src/boards/416.c | 2 +- src/boards/417.c | 2 +- src/boards/431.c | 2 +- src/boards/432.c | 2 +- src/boards/433.c | 2 +- src/boards/444.c | 2 +- src/boards/516.c | 2 +- src/boards/533.c | 2 +- src/boards/539.c | 2 +- src/boards/554.c | 2 +- src/boards/60.c | 2 +- src/boards/91.c | 2 +- src/boards/fk23c.c | 2 +- src/boards/resettxrom.c | 2 +- src/boards/sachen.c | 2 +- src/boards/txcchip.c | 2 +- src/cheat.c | 2 +- 53 files changed, 54 insertions(+), 54 deletions(-) diff --git a/src/boards/208.c b/src/boards/208.c index 5088e7b..af03010 100644 --- a/src/boards/208.c +++ b/src/boards/208.c @@ -2,7 +2,7 @@ * * Copyright notice for this file: * Copyright (C) 2005 CaH4e3 - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/218.c b/src/boards/218.c index 88d3e11..97ed530 100644 --- a/src/boards/218.c +++ b/src/boards/218.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/225.c b/src/boards/225.c index 846f965..a00b9fd 100644 --- a/src/boards/225.c +++ b/src/boards/225.c @@ -3,7 +3,7 @@ * Copyright notice for this file: * Copyright (C) 2011 CaH4e3 * Copyright (C) 2019 Libretro Team - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/235.c b/src/boards/235.c index f64b138..2532917 100644 --- a/src/boards/235.c +++ b/src/boards/235.c @@ -2,7 +2,7 @@ * * Copyright notice for this file: * Copyright (C) 2005 CaH4e3 - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/267.c b/src/boards/267.c index 2780fd0..1f34529 100644 --- a/src/boards/267.c +++ b/src/boards/267.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/269.c b/src/boards/269.c index b62f50f..9985888 100644 --- a/src/boards/269.c +++ b/src/boards/269.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/272.c b/src/boards/272.c index 923f544..3e91c1e 100644 --- a/src/boards/272.c +++ b/src/boards/272.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/291.c b/src/boards/291.c index da6f7ab..aacce1a 100644 --- a/src/boards/291.c +++ b/src/boards/291.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/293.c b/src/boards/293.c index f70d504..86348b0 100644 --- a/src/boards/293.c +++ b/src/boards/293.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/326.c b/src/boards/326.c index d15a6ff..a29fced 100644 --- a/src/boards/326.c +++ b/src/boards/326.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/330.c b/src/boards/330.c index e2012c6..e2453a3 100644 --- a/src/boards/330.c +++ b/src/boards/330.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/334.c b/src/boards/334.c index 8dcfed0..a4dfc27 100644 --- a/src/boards/334.c +++ b/src/boards/334.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/353.c b/src/boards/353.c index 765aa08..36126f5 100644 --- a/src/boards/353.c +++ b/src/boards/353.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/356.c b/src/boards/356.c index 3ea1f5f..666b7aa 100644 --- a/src/boards/356.c +++ b/src/boards/356.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/357.c b/src/boards/357.c index a46bdea..48088fc 100644 --- a/src/boards/357.c +++ b/src/boards/357.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/359.c b/src/boards/359.c index 123e344..db65987 100644 --- a/src/boards/359.c +++ b/src/boards/359.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/360.c b/src/boards/360.c index 210e93b..eb61154 100644 --- a/src/boards/360.c +++ b/src/boards/360.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/364.c b/src/boards/364.c index b082392..5fc4c2c 100644 --- a/src/boards/364.c +++ b/src/boards/364.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/368.c b/src/boards/368.c index 4ae27fe..a8abf3e 100644 --- a/src/boards/368.c +++ b/src/boards/368.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/369.c b/src/boards/369.c index a11a439..fea0379 100644 --- a/src/boards/369.c +++ b/src/boards/369.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/370.c b/src/boards/370.c index 25f5887..297031b 100644 --- a/src/boards/370.c +++ b/src/boards/370.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/372.c b/src/boards/372.c index 9da9ee3..3f878b2 100644 --- a/src/boards/372.c +++ b/src/boards/372.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* added 2020-1-28 - negativeExponent */ +/* added 2020-1-28 - */ /* NES 2.0 Mapper 372 is used for a revision of the Rockman I-VI multicart (PCB ID SFC-12). * It is INES Mapper 045 but with one bit of outer bank register #2 working as a CHR-ROM/RAM switch. */ diff --git a/src/boards/375.c b/src/boards/375.c index 93d9ec1..2b78638 100644 --- a/src/boards/375.c +++ b/src/boards/375.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/377.c b/src/boards/377.c index bece1b2..9b0cdd9 100644 --- a/src/boards/377.c +++ b/src/boards/377.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/380.c b/src/boards/380.c index 280d0a4..912e266 100644 --- a/src/boards/380.c +++ b/src/boards/380.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/382.c b/src/boards/382.c index 87e36bc..0372f92 100644 --- a/src/boards/382.c +++ b/src/boards/382.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/389.c b/src/boards/389.c index b90beae..b1dbfd0 100644 --- a/src/boards/389.c +++ b/src/boards/389.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/390.c b/src/boards/390.c index 0e1e4ba..9d2a953 100644 --- a/src/boards/390.c +++ b/src/boards/390.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/393.c b/src/boards/393.c index 56eab48..5315cce 100644 --- a/src/boards/393.c +++ b/src/boards/393.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/395.c b/src/boards/395.c index 6508850..949b099 100644 --- a/src/boards/395.c +++ b/src/boards/395.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/396.c b/src/boards/396.c index 0e916c4..a31aee1 100644 --- a/src/boards/396.c +++ b/src/boards/396.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/401.c b/src/boards/401.c index 75cb508..940aa4f 100644 --- a/src/boards/401.c +++ b/src/boards/401.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/403.c b/src/boards/403.c index aa04f75..11dfa5c 100644 --- a/src/boards/403.c +++ b/src/boards/403.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/410.c b/src/boards/410.c index 2c0bfa3..1484e59 100644 --- a/src/boards/410.c +++ b/src/boards/410.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/411.c b/src/boards/411.c index eafa3cc..db87fb0 100644 --- a/src/boards/411.c +++ b/src/boards/411.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/414.c b/src/boards/414.c index 546e94a..f8c4380 100644 --- a/src/boards/414.c +++ b/src/boards/414.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/416.c b/src/boards/416.c index 9489b30..8c04152 100644 --- a/src/boards/416.c +++ b/src/boards/416.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/417.c b/src/boards/417.c index bea2e35..3af3afc 100644 --- a/src/boards/417.c +++ b/src/boards/417.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/431.c b/src/boards/431.c index 11a987f..afc9ef9 100644 --- a/src/boards/431.c +++ b/src/boards/431.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/432.c b/src/boards/432.c index 817997e..af91e0e 100644 --- a/src/boards/432.c +++ b/src/boards/432.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/433.c b/src/boards/433.c index d7c00ca..07dba88 100644 --- a/src/boards/433.c +++ b/src/boards/433.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2022 negativeExponent + * Copyright (C) 2022 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/444.c b/src/boards/444.c index ec6c945..e6a61b4 100644 --- a/src/boards/444.c +++ b/src/boards/444.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/516.c b/src/boards/516.c index d42b2ed..c9e5a86 100644 --- a/src/boards/516.c +++ b/src/boards/516.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/533.c b/src/boards/533.c index 821f861..3465576 100644 --- a/src/boards/533.c +++ b/src/boards/533.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/539.c b/src/boards/539.c index 38053c8..cfcc6b6 100644 --- a/src/boards/539.c +++ b/src/boards/539.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/554.c b/src/boards/554.c index 7559a83..8084a76 100644 --- a/src/boards/554.c +++ b/src/boards/554.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/60.c b/src/boards/60.c index 01e4ccf..29ace51 100644 --- a/src/boards/60.c +++ b/src/boards/60.c @@ -1,7 +1,7 @@ /* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/boards/91.c b/src/boards/91.c index 33652aa..4e9ccfe 100644 --- a/src/boards/91.c +++ b/src/boards/91.c @@ -2,7 +2,7 @@ * * Copyright notice for this file: * Copyright (C) 2012 CaH4e3 - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/fk23c.c b/src/boards/fk23c.c index 90d4722..ac22b6d 100644 --- a/src/boards/fk23c.c +++ b/src/boards/fk23c.c @@ -2,7 +2,7 @@ * * Copyright notice for this file: * Copyright (C) 2006 CaH4e3 - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/resettxrom.c b/src/boards/resettxrom.c index 1047283..6d5537d 100644 --- a/src/boards/resettxrom.c +++ b/src/boards/resettxrom.c @@ -2,7 +2,7 @@ * * Copyright notice for this file: * Copyright (C) 2019 Libretro Team - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/sachen.c b/src/boards/sachen.c index 82947f9..cc97bc9 100644 --- a/src/boards/sachen.c +++ b/src/boards/sachen.c @@ -2,7 +2,7 @@ * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/boards/txcchip.c b/src/boards/txcchip.c index 294cd39..69fbb56 100644 --- a/src/boards/txcchip.c +++ b/src/boards/txcchip.c @@ -3,7 +3,7 @@ * Copyright notice for this file: * Copyright (C) 2012 CaH4e3 * Copyright (C) 2019 Libretro Team - * Copyright (C) 2020 negativeExponent + * Copyright (C) 2020 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/cheat.c b/src/cheat.c index 0ffb25c..e7b73b2 100644 --- a/src/cheat.c +++ b/src/cheat.c @@ -387,7 +387,7 @@ int FCEUI_DecodePAR(const char *str, uint16 *a, uint8 *v, int *c, int *type) { *c = -1; - /* 2020-08-31 - negativeExponent + /* 2020-08-31 * Why is the top code set as default on non-debug runtime when * bottom code is what works for PAR? */