From 55639a156ab18c75c55189e518c573c2e5f65495 Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Sat, 12 Feb 2022 16:13:05 +0800 Subject: [PATCH] Cleanup some includes --- src/boards/162.c | 1 - src/boards/163.c | 1 - src/boards/218.c | 1 - src/boards/235.c | 1 - src/boards/283.c | 1 - src/boards/558.c | 1 - src/boards/addrlatch.c | 1 - src/boards/bmc80013b.c | 1 - src/boards/cheapocabra.c | 1 - src/boards/datalatch.c | 1 - src/boards/hp10xx_hp20xx.c | 1 - src/boards/mapinc.h | 1 + src/boards/unrom512.c | 1 - 13 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/boards/162.c b/src/boards/162.c index c2a44e3..676b44f 100644 --- a/src/boards/162.c +++ b/src/boards/162.c @@ -23,7 +23,6 @@ /* Waixing FS304 PCB */ #include "mapinc.h" -#include "../ines.h" static uint8 *WRAM; static uint32 WRAMSIZE; diff --git a/src/boards/163.c b/src/boards/163.c index f8da4ff..9709255 100644 --- a/src/boards/163.c +++ b/src/boards/163.c @@ -23,7 +23,6 @@ /* Nanjing FC-001 PCB */ #include "mapinc.h" -#include "../ines.h" static uint8 *WRAM; static uint32 WRAMSIZE; diff --git a/src/boards/218.c b/src/boards/218.c index 84892d3..88d3e11 100644 --- a/src/boards/218.c +++ b/src/boards/218.c @@ -19,7 +19,6 @@ */ #include "mapinc.h" -#include "../ines.h" static void M218Power(void) { setchr8(0); diff --git a/src/boards/235.c b/src/boards/235.c index b823666..f64b138 100644 --- a/src/boards/235.c +++ b/src/boards/235.c @@ -20,7 +20,6 @@ */ #include "mapinc.h" -#include "../ines.h" static uint8 *CHRRAM; static uint32 CHRRAMSIZE; diff --git a/src/boards/283.c b/src/boards/283.c index c3dba2b..7d9eaef 100644 --- a/src/boards/283.c +++ b/src/boards/283.c @@ -19,7 +19,6 @@ */ #include "mapinc.h" -#include "../ines.h" static uint8 reg, mirr; static SFORMAT StateRegs[] = diff --git a/src/boards/558.c b/src/boards/558.c index c509ba5..9be3ed1 100644 --- a/src/boards/558.c +++ b/src/boards/558.c @@ -24,7 +24,6 @@ #include "mapinc.h" #include "eeprom_93C66.h" -#include "../ines.h" static uint8 *WRAM; static uint32 WRAMSIZE; diff --git a/src/boards/addrlatch.c b/src/boards/addrlatch.c index 10eef4d..9273341 100644 --- a/src/boards/addrlatch.c +++ b/src/boards/addrlatch.c @@ -19,7 +19,6 @@ */ #include "mapinc.h" -#include "../ines.h" static uint16 latche, latcheinit; static uint16 addrreg0, addrreg1; diff --git a/src/boards/bmc80013b.c b/src/boards/bmc80013b.c index a58c77d..6bd8460 100644 --- a/src/boards/bmc80013b.c +++ b/src/boards/bmc80013b.c @@ -24,7 +24,6 @@ /* 2020-03-22 - Update support for Cave Story II, FIXME: Arabian does not work for some reasons... */ #include "mapinc.h" -#include "../ines.h" static uint8 regs[2], mode; diff --git a/src/boards/cheapocabra.c b/src/boards/cheapocabra.c index 7730941..4535986 100644 --- a/src/boards/cheapocabra.c +++ b/src/boards/cheapocabra.c @@ -31,7 +31,6 @@ */ #include "mapinc.h" -#include "../ines.h" static uint8 reg; static uint8 *CHRRAM = NULL; diff --git a/src/boards/datalatch.c b/src/boards/datalatch.c index 08e0c01..c86d585 100644 --- a/src/boards/datalatch.c +++ b/src/boards/datalatch.c @@ -19,7 +19,6 @@ */ #include "mapinc.h" -#include "../ines.h" #include "../fds_apu.h" static uint8 latche, latcheinit, bus_conflict; diff --git a/src/boards/hp10xx_hp20xx.c b/src/boards/hp10xx_hp20xx.c index c18c9d1..496c1e0 100644 --- a/src/boards/hp10xx_hp20xx.c +++ b/src/boards/hp10xx_hp20xx.c @@ -20,7 +20,6 @@ #include "mapinc.h" #include "mmc3.h" -#include "../ines.h" /* added on 2019-5-23 - NES 2.0 Mapper 260 * HP10xx/HP20xx - a simplified version of FK23C mapper with pretty strict and better diff --git a/src/boards/mapinc.h b/src/boards/mapinc.h index 8376a0c..ba3964d 100644 --- a/src/boards/mapinc.h +++ b/src/boards/mapinc.h @@ -8,4 +8,5 @@ #include "../cart.h" #include "../cheat.h" #include "../unif.h" +#include "../ines.h" #include diff --git a/src/boards/unrom512.c b/src/boards/unrom512.c index 3a1961f..ca3f63b 100644 --- a/src/boards/unrom512.c +++ b/src/boards/unrom512.c @@ -35,7 +35,6 @@ */ #include "mapinc.h" -#include "../ines.h" /* Workaround for libretro api compatibility */ #define ROM_size_max 32