From 3a87299ebb7e0efaac72bc0c578d13fc824400ad Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 30 Aug 2025 13:00:43 +0300 Subject: [PATCH] Removed unneeded includes --- a2065.cpp | 2 -- a2091.cpp | 5 ----- akiko.cpp | 1 - amax.cpp | 1 - ar.cpp | 2 -- arcadia.cpp | 4 ---- audio.cpp | 4 ---- autoconf.cpp | 4 ---- blitfunc.cpp | 1 - blitter.cpp | 1 - blkdev_cdimage.cpp | 3 --- bsdsocket.cpp | 2 -- catweasel.cpp | 1 - cd32_fmv.cpp | 3 --- cd32_fmv_genlock.cpp | 2 -- cdtv.cpp | 1 - cdtvcr.cpp | 1 - cfgfile.cpp | 1 - cia.cpp | 2 -- consolehook.cpp | 1 - cpuboard.cpp | 2 -- cpummu30.cpp | 1 - custom.cpp | 3 --- debug.cpp | 3 --- devices.cpp | 2 -- disk.cpp | 2 -- draco.cpp | 2 -- drawing.cpp | 2 -- driveclick.cpp | 2 -- enforcer.cpp | 1 - epsonprinter.cpp | 1 - ethernet.cpp | 1 - events.cpp | 6 ------ expansion.cpp | 4 ---- filesys.cpp | 10 ---------- flashrom.cpp | 2 -- fpp.cpp | 6 ------ fpp_softfloat.cpp | 1 - framebufferboards.cpp | 1 - fsdb.cpp | 8 -------- gayle.cpp | 7 ------- genblitter.cpp | 1 - gfxboard.cpp | 2 -- gfxutil.cpp | 1 - hardfile.cpp | 2 -- idecontrollers.cpp | 4 ---- identify.cpp | 1 - inputdevice.cpp | 2 -- inputrecord.cpp | 1 - keybuf.cpp | 2 -- luascript.cpp | 2 -- main.cpp | 4 ---- memory.cpp | 5 ----- 53 files changed, 136 deletions(-) diff --git a/a2065.cpp b/a2065.cpp index eb0d16ca..54ae9e9a 100644 --- a/a2065.cpp +++ b/a2065.cpp @@ -14,7 +14,6 @@ #include "options.h" #include "memory.h" -#include "custom.h" #include "newcpu.h" #include "a2065.h" #include "ethernet.h" @@ -22,7 +21,6 @@ #include "savestate.h" #include "autoconf.h" #include "rommgr.h" -#include "debug.h" #include "devices.h" #include "threaddep/thread.h" diff --git a/a2091.cpp b/a2091.cpp index cc9d313c..f9914b42 100644 --- a/a2091.cpp +++ b/a2091.cpp @@ -29,19 +29,14 @@ #include "uae.h" #include "memory.h" #include "rommgr.h" -#include "custom.h" #include "newcpu.h" -#include "debug.h" #include "scsi.h" #include "threaddep/thread.h" #include "a2091.h" -#include "blkdev.h" -#include "gui.h" #include "zfile.h" #include "filesys.h" #include "autoconf.h" #include "cdtv.h" -#include "savestate.h" #include "cpuboard.h" #include "rtc.h" #include "devices.h" diff --git a/akiko.cpp b/akiko.cpp index 47197fee..688aa185 100644 --- a/akiko.cpp +++ b/akiko.cpp @@ -151,7 +151,6 @@ #include "options.h" #include "memory.h" -#include "events.h" #include "savestate.h" #include "blkdev.h" #include "zfile.h" diff --git a/amax.cpp b/amax.cpp index 1739d487..110b1748 100644 --- a/amax.cpp +++ b/amax.cpp @@ -5,7 +5,6 @@ #include "options.h" #include "zfile.h" #include "amax.h" -#include "custom.h" #include "memory.h" #include "newcpu.h" #include "rommgr.h" diff --git a/ar.cpp b/ar.cpp index 73db0c42..1a1d27b1 100644 --- a/ar.cpp +++ b/ar.cpp @@ -214,8 +214,6 @@ #include "ar.h" #include "savestate.h" #include "crc32.h" -#include "akiko.h" -#include "xwin.h" #include "gfxboard.h" #define DEBUG diff --git a/arcadia.cpp b/arcadia.cpp index 81633505..660bedd0 100644 --- a/arcadia.cpp +++ b/arcadia.cpp @@ -15,7 +15,6 @@ #include "sysdeps.h" #include "options.h" -#include "uae.h" #include "memory.h" #include "rommgr.h" #include "custom.h" @@ -27,13 +26,10 @@ #include "videograb.h" #endif #include "xwin.h" -#include "drawing.h" #include "statusline.h" -#include "rommgr.h" #include "flashrom.h" #include "savestate.h" #include "devices.h" -#include "specialmonitors.h" #define CUBO_DEBUG 1 diff --git a/audio.cpp b/audio.cpp index 02441f1f..8deb0c1c 100644 --- a/audio.cpp +++ b/audio.cpp @@ -19,7 +19,6 @@ #include "memory.h" #include "custom.h" #include "newcpu.h" -#include "autoconf.h" #include "gensound.h" #include "audio.h" #include "sounddep/sound.h" @@ -31,7 +30,6 @@ #include "zfile.h" #include "uae.h" #include "gui.h" -#include "xwin.h" #include "debug.h" #ifdef WITH_SNDBOARD #include "sndboard.h" @@ -40,13 +38,11 @@ #include "avioutput.h" #endif #ifdef AHI -#include "traps.h" #include "ahidsound.h" #ifdef AHI_v2 #include "ahidsound_new.h" #endif #endif -#include "threaddep/thread.h" #include diff --git a/autoconf.cpp b/autoconf.cpp index 815d178a..9e382223 100644 --- a/autoconf.cpp +++ b/autoconf.cpp @@ -13,16 +13,12 @@ #define NEW_TRAP_DEBUG 0 #include "options.h" -#include "uae.h" #include "memory.h" -#include "custom.h" -#include "events.h" #include "newcpu.h" #include "autoconf.h" #include "traps.h" #include "debug.h" #include "threaddep/thread.h" -#include "native2amiga.h" #include "inputdevice.h" #ifdef WITH_PPC #include "uae/ppc.h" diff --git a/blitfunc.cpp b/blitfunc.cpp index 7813ac2b..1135d35d 100644 --- a/blitfunc.cpp +++ b/blitfunc.cpp @@ -1,7 +1,6 @@ #include "sysconfig.h" #include "sysdeps.h" #include "options.h" -#include "custom.h" #include "memory.h" #include "blitter.h" #include "blitfunc.h" diff --git a/blitter.cpp b/blitter.cpp index 7e7d52ff..995ffd44 100644 --- a/blitter.cpp +++ b/blitter.cpp @@ -14,7 +14,6 @@ #include "sysdeps.h" #include "options.h" -#include "uae.h" #include "memory.h" #include "custom.h" #include "events.h" diff --git a/blkdev_cdimage.cpp b/blkdev_cdimage.cpp index 76aa985a..97f2c7fc 100644 --- a/blkdev_cdimage.cpp +++ b/blkdev_cdimage.cpp @@ -17,19 +17,16 @@ #include #include "options.h" -#include "traps.h" #include "blkdev.h" #include "zfile.h" #include "gui.h" #include "fsdb.h" #include "threaddep/thread.h" -#include "scsidev.h" #include "mp3decoder.h" #include "cda_play.h" #include "memory.h" #include "audio.h" #include "uae.h" -#include "uae/cdrom.h" #ifdef RETROPLATFORM #include "rp.h" #endif diff --git a/bsdsocket.cpp b/bsdsocket.cpp index 95c3752c..f68e9145 100644 --- a/bsdsocket.cpp +++ b/bsdsocket.cpp @@ -16,8 +16,6 @@ #include "options.h" #include "memory.h" -#include "custom.h" -#include "newcpu.h" #include "autoconf.h" #include "traps.h" #include "bsdsocket.h" diff --git a/catweasel.cpp b/catweasel.cpp index 4dfc5142..56c59cb3 100644 --- a/catweasel.cpp +++ b/catweasel.cpp @@ -7,7 +7,6 @@ #ifdef CATWEASEL #include "options.h" -#include "memory.h" #include "ioport.h" #include "catweasel.h" #include "uae.h" diff --git a/cd32_fmv.cpp b/cd32_fmv.cpp index ad7c2627..a7913022 100644 --- a/cd32_fmv.cpp +++ b/cd32_fmv.cpp @@ -15,11 +15,8 @@ #include "rommgr.h" #include "custom.h" #include "newcpu.h" -#include "zfile.h" #include "cd32_fmv.h" -#include "uae.h" #include "debug.h" -#include "custom.h" #include "audio.h" #include "devices.h" #include "threaddep/thread.h" diff --git a/cd32_fmv_genlock.cpp b/cd32_fmv_genlock.cpp index 025d1b73..7e7a05e0 100644 --- a/cd32_fmv_genlock.cpp +++ b/cd32_fmv_genlock.cpp @@ -11,8 +11,6 @@ #include "sysdeps.h" #include "options.h" -#include "memory.h" -#include "cd32_fmv.h" #include "xwin.h" static uae_u8 *mpeg_out_buffer; diff --git a/cdtv.cpp b/cdtv.cpp index e95f4cc4..5c5a2d91 100644 --- a/cdtv.cpp +++ b/cdtv.cpp @@ -34,7 +34,6 @@ #endif #include "uae.h" #include "savestate.h" -#include "scsi.h" #include "devices.h" #include "rommgr.h" diff --git a/cdtvcr.cpp b/cdtvcr.cpp index 738c4426..6ff151d8 100644 --- a/cdtvcr.cpp +++ b/cdtvcr.cpp @@ -27,7 +27,6 @@ #include "threaddep/thread.h" #include "uae.h" #include "custom.h" -#include "rommgr.h" #include "devices.h" #if CDTVCR_4510_EMULATION diff --git a/cfgfile.cpp b/cfgfile.cpp index 8bc710a0..1665b5c3 100644 --- a/cfgfile.cpp +++ b/cfgfile.cpp @@ -39,7 +39,6 @@ #include "luascript.h" #endif #include "ethernet.h" -#include "native2amiga_api.h" #include "ini.h" #ifdef WITH_SPECIALMONITORS #include "specialmonitors.h" diff --git a/cia.cpp b/cia.cpp index 355f3af5..bbe303f2 100644 --- a/cia.cpp +++ b/cia.cpp @@ -23,7 +23,6 @@ #include "serial.h" #endif #include "disk.h" -#include "xwin.h" #include "keybuf.h" #include "gui.h" #include "savestate.h" @@ -41,7 +40,6 @@ #endif #include "audio.h" #include "keyboard.h" -#include "uae.h" #ifdef AMAX #include "amax.h" #endif diff --git a/consolehook.cpp b/consolehook.cpp index 023fbe9e..06659fb0 100644 --- a/consolehook.cpp +++ b/consolehook.cpp @@ -4,7 +4,6 @@ #include "sysdeps.h" #include "options.h" -#include "memory.h" #include "execlib.h" #include "disk.h" #include "rommgr.h" diff --git a/cpuboard.cpp b/cpuboard.cpp index de95dd5f..18ad7804 100644 --- a/cpuboard.cpp +++ b/cpuboard.cpp @@ -33,8 +33,6 @@ #include "uae/ppc.h" #endif #include "uae/vm.h" -#include "idecontrollers.h" -#include "scsi.h" #include "cpummu030.h" #include "devices.h" #include "a2091.h" diff --git a/cpummu30.cpp b/cpummu30.cpp index 5eba3697..941f0acd 100644 --- a/cpummu30.cpp +++ b/cpummu30.cpp @@ -36,7 +36,6 @@ #include "newcpu.h" #include "debug.h" #include "cpummu030.h" -#include "cputbl.h" #include "savestate.h" // Prefetch mode and prefetch bus error: always flush and refill prefetch pipeline diff --git a/custom.cpp b/custom.cpp index 18d88d4b..347a6100 100644 --- a/custom.cpp +++ b/custom.cpp @@ -19,9 +19,7 @@ #include "options.h" #include "uae.h" -#include "gensound.h" #include "audio.h" -#include "sounddep/sound.h" #include "events.h" #include "memory.h" #include "custom.h" @@ -50,7 +48,6 @@ #ifdef WITH_LUA #include "luascript.h" #endif -#include "crc32.h" #include "devices.h" #include "rommgr.h" #ifdef WITH_SPECIALMONITORS diff --git a/debug.cpp b/debug.cpp index c53154b7..e105fb18 100644 --- a/debug.cpp +++ b/debug.cpp @@ -19,14 +19,12 @@ #include "memory.h" #include "custom.h" #include "newcpu.h" -#include "cpu_prefetch.h" #include "debug.h" #include "disasm.h" #include "debugmem.h" #include "cia.h" #include "xwin.h" #include "identify.h" -#include "audio.h" #include "sounddep/sound.h" #include "disk.h" #include "savestate.h" @@ -54,7 +52,6 @@ #include "blitter.h" #include "ini.h" #include "readcpu.h" -#include "cputbl.h" #include "keybuf.h" static int trace_mode; diff --git a/devices.cpp b/devices.cpp index f1d3308f..c9ec3682 100644 --- a/devices.cpp +++ b/devices.cpp @@ -67,8 +67,6 @@ #ifdef AVIOUTPUT #include "videograb.h" #endif -#include "rommgr.h" -#include "newcpu.h" #ifdef WITH_MIDIEMU #include "midiemu.h" #endif diff --git a/disk.cpp b/disk.cpp index a8afdd31..da92c557 100644 --- a/disk.cpp +++ b/disk.cpp @@ -33,8 +33,6 @@ int disk_debug_track = -1; #include "gui.h" #include "zfile.h" #include "newcpu.h" -#include "osemu.h" -#include "execlib.h" #include "savestate.h" #include "cia.h" #include "debug.h" diff --git a/draco.cpp b/draco.cpp index 2b5f01c0..fbb8e989 100644 --- a/draco.cpp +++ b/draco.cpp @@ -9,7 +9,6 @@ #ifdef WITH_DRACO #include "options.h" -#include "uae.h" #include "memory.h" #include "newcpu.h" #include "devices.h" @@ -19,7 +18,6 @@ #include "ncr_scsi.h" #include "draco.h" #include "zfile.h" -#include "keybuf.h" #include "rommgr.h" #include "disk.h" diff --git a/drawing.cpp b/drawing.cpp index f939ddba..79e44865 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -22,9 +22,7 @@ #include "uae.h" #include "memory.h" #include "custom.h" -#include "newcpu.h" #include "xwin.h" -#include "autoconf.h" #include "gui.h" #include "picasso96.h" #include "drawing.h" diff --git a/driveclick.cpp b/driveclick.cpp index f8e31a8a..5c4262a0 100644 --- a/driveclick.cpp +++ b/driveclick.cpp @@ -16,8 +16,6 @@ #include "audio.h" #include "sounddep/sound.h" #include "zfile.h" -#include "fsdb.h" -#include "events.h" #include "driveclick.h" static struct drvsample drvs[4][DS_END]; diff --git a/enforcer.cpp b/enforcer.cpp index 7eddaa38..8eecf77e 100644 --- a/enforcer.cpp +++ b/enforcer.cpp @@ -13,7 +13,6 @@ #include "options.h" #include "memory.h" -#include "custom.h" #include "newcpu.h" #include "uae.h" #include "xwin.h" diff --git a/epsonprinter.cpp b/epsonprinter.cpp index f3ffc00f..86aa796e 100644 --- a/epsonprinter.cpp +++ b/epsonprinter.cpp @@ -30,7 +30,6 @@ #define C_LIBPNG #include "epsonprinter.h" -#include "win32.h" #include "parser.h" #include "threaddep/thread.h" #include "uae/io.h" diff --git a/ethernet.cpp b/ethernet.cpp index 9b374c2c..f4078b6a 100644 --- a/ethernet.cpp +++ b/ethernet.cpp @@ -8,7 +8,6 @@ #endif #include "threaddep/thread.h" #include "options.h" -#include "traps.h" #include "sana2.h" #include "uae/slirp.h" #include "gui.h" diff --git a/events.cpp b/events.cpp index 7652bc30..304d23cb 100644 --- a/events.cpp +++ b/events.cpp @@ -13,17 +13,11 @@ #include "options.h" #include "events.h" -#include "memory.h" -#include "newcpu.h" #ifdef WITH_PPC #include "uae/ppc.h" #endif #include "xwin.h" -#ifdef WITH_X86 -#include "x86.h" -#endif #include "audio.h" -#include "cia.h" #include "custom.h" extern uae_u8 agnus_hpos; diff --git a/expansion.cpp b/expansion.cpp index b555e59f..f4493b72 100644 --- a/expansion.cpp +++ b/expansion.cpp @@ -13,11 +13,8 @@ #include "sysdeps.h" #include "options.h" -#include "uae.h" -#include "traps.h" #include "memory.h" #include "rommgr.h" -#include "custom.h" #include "newcpu.h" #include "savestate.h" #include "zfile.h" @@ -58,7 +55,6 @@ #ifdef WITH_SPECIALMONITORS #include "specialmonitors.h" #endif -#include "inputdevice.h" #ifdef WITH_PCI #include "pci.h" #endif diff --git a/filesys.cpp b/filesys.cpp index f8eb3b6e..b791d2d0 100644 --- a/filesys.cpp +++ b/filesys.cpp @@ -31,7 +31,6 @@ #include "uae.h" #include "memory.h" #include "custom.h" -#include "events.h" #include "newcpu.h" #include "filesys.h" #include "autoconf.h" @@ -44,15 +43,7 @@ #include "zarchive.h" #include "gui.h" #include "gayle.h" -#include "idecontrollers.h" #include "savestate.h" -#ifdef A2091 -#include "a2091.h" -#endif -#ifdef NCR -#include "ncr_scsi.h" -#endif -#include "cdtv.h" #include "sana2.h" #include "bsdsocket.h" #include "uaeresource.h" @@ -68,7 +59,6 @@ #include "tabletlibrary.h" #include "cia.h" #include "picasso96.h" -#include "cpuboard.h" #include "rommgr.h" #include "debug.h" #include "debugmem.h" diff --git a/flashrom.cpp b/flashrom.cpp index 220e8ecb..9417681c 100644 --- a/flashrom.cpp +++ b/flashrom.cpp @@ -14,8 +14,6 @@ #include "options.h" #include "zfile.h" #include "flashrom.h" -#include "memory.h" -#include "newcpu.h" #include "debug.h" #include "gui.h" diff --git a/fpp.cpp b/fpp.cpp index 13d54a28..e1ce8baa 100644 --- a/fpp.cpp +++ b/fpp.cpp @@ -22,15 +22,9 @@ #include "options.h" #include "memory.h" -#include "uae/attributes.h" -#include "uae/vm.h" -#include "custom.h" -#include "events.h" #include "newcpu.h" #include "fpp.h" #include "savestate.h" -#include "cpu_prefetch.h" -#include "cpummu.h" #include "cpummu030.h" #include "debug.h" #include "uae.h" diff --git a/fpp_softfloat.cpp b/fpp_softfloat.cpp index 150788cf..baa1ffda 100644 --- a/fpp_softfloat.cpp +++ b/fpp_softfloat.cpp @@ -22,7 +22,6 @@ #include "memory.h" #include "newcpu.h" #include "fpp.h" -#include "newcpu.h" #include "softfloat/softfloat-macros.h" #include "softfloat/softfloat-specialize.h" diff --git a/framebufferboards.cpp b/framebufferboards.cpp index 00dc5383..ae8c5c41 100644 --- a/framebufferboards.cpp +++ b/framebufferboards.cpp @@ -16,7 +16,6 @@ #include "custom.h" #include "picasso96.h" #include "gfxboard.h" -#include "statusline.h" #include "rommgr.h" #include "framebufferboards.h" #include "xwin.h" diff --git a/fsdb.cpp b/fsdb.cpp index cf27ba96..d340c124 100644 --- a/fsdb.cpp +++ b/fsdb.cpp @@ -11,15 +11,7 @@ #include "sysdeps.h" #include "options.h" -#include "uae.h" -#include "traps.h" #include "memory.h" -#include "custom.h" -#include "newcpu.h" -#include "filesys.h" -#include "autoconf.h" -#include "fsusage.h" -#include "scsidev.h" #include "fsdb.h" #include "uae/io.h" diff --git a/gayle.cpp b/gayle.cpp index c13d56bd..b5fb11d0 100644 --- a/gayle.cpp +++ b/gayle.cpp @@ -22,17 +22,10 @@ #include "gayle.h" #include "savestate.h" #include "uae.h" -#include "gui.h" -#include "threaddep/thread.h" -#ifdef A2091 -#include "a2091.h" -#endif #include "ncr_scsi.h" #include "ncr9x_scsi.h" -#include "blkdev.h" #include "scsi.h" #include "ide.h" -#include "idecontrollers.h" #ifdef WITH_PCI #include "pci_hw.h" #endif diff --git a/genblitter.cpp b/genblitter.cpp index 51b94c1d..e9f89018 100644 --- a/genblitter.cpp +++ b/genblitter.cpp @@ -39,7 +39,6 @@ static void generate_func(void) printf("#include \"sysconfig.h\"\n"); printf("#include \"sysdeps.h\"\n"); printf("#include \"options.h\"\n"); - printf("#include \"custom.h\"\n"); printf("#include \"memory.h\"\n"); printf("#include \"blitter.h\"\n"); printf("#include \"blitfunc.h\"\n\n"); diff --git a/gfxboard.cpp b/gfxboard.cpp index fcdb343a..677ce2e2 100644 --- a/gfxboard.cpp +++ b/gfxboard.cpp @@ -53,7 +53,6 @@ static bool memlogw = true; #include "rommgr.h" #include "zfile.h" #include "gfxboard.h" -#include "rommgr.h" #include "xwin.h" #include "devices.h" #include "gfxfilter.h" @@ -62,7 +61,6 @@ static bool memlogw = true; #include "pci_hw.h" #include "pcem/pcemglue.h" #include "qemuvga/qemuuaeglue.h" -#include "qemuvga/vga.h" #include "draco.h" #include "autoconf.h" diff --git a/gfxutil.cpp b/gfxutil.cpp index fcaf04eb..245c995a 100644 --- a/gfxutil.cpp +++ b/gfxutil.cpp @@ -12,7 +12,6 @@ #include "custom.h" #include "rtgmodes.h" #include "xwin.h" -#include "gfxfilter.h" #include "machdep/maccess.h" #include diff --git a/hardfile.cpp b/hardfile.cpp index 9f2165d8..17703b60 100644 --- a/hardfile.cpp +++ b/hardfile.cpp @@ -13,9 +13,7 @@ #include "threaddep/thread.h" #include "options.h" #include "memory.h" -#include "custom.h" #include "newcpu.h" -#include "disk.h" #include "autoconf.h" #include "traps.h" #include "filesys.h" diff --git a/idecontrollers.cpp b/idecontrollers.cpp index b2ef4e8b..7d764658 100644 --- a/idecontrollers.cpp +++ b/idecontrollers.cpp @@ -13,15 +13,11 @@ #include "memory.h" #include "newcpu.h" -#include "uae.h" -#include "gui.h" #include "filesys.h" -#include "threaddep/thread.h" #include "debug.h" #include "ide.h" #include "idecontrollers.h" #include "zfile.h" -#include "custom.h" #include "rommgr.h" #include "cpuboard.h" #include "scsi.h" diff --git a/identify.cpp b/identify.cpp index 3048ef6c..e17084d1 100644 --- a/identify.cpp +++ b/identify.cpp @@ -11,7 +11,6 @@ #ifdef DEBUGGER #include "options.h" -#include "memory.h" #include "identify.h" const struct mem_labels int_labels[] = diff --git a/inputdevice.cpp b/inputdevice.cpp index 9b9367c7..32d7744e 100644 --- a/inputdevice.cpp +++ b/inputdevice.cpp @@ -44,13 +44,11 @@ #include "ar.h" #include "gui.h" #include "disk.h" -#include "audio.h" #include "sounddep/sound.h" #include "savestate.h" #ifdef ARCADIA #include "arcadia.h" #endif -#include "zfile.h" #include "cia.h" #include "autoconf.h" #ifdef WITH_X86 diff --git a/inputrecord.cpp b/inputrecord.cpp index 383e6259..70f486c2 100644 --- a/inputrecord.cpp +++ b/inputrecord.cpp @@ -21,7 +21,6 @@ #include "zfile.h" #include "custom.h" #include "savestate.h" -#include "cia.h" #include "events.h" #include "uae.h" #include "disk.h" diff --git a/keybuf.cpp b/keybuf.cpp index 7a00032e..f6d4bc03 100644 --- a/keybuf.cpp +++ b/keybuf.cpp @@ -18,10 +18,8 @@ #include "options.h" #include "keybuf.h" -#include "keyboard.h" #include "inputdevice.h" #include "custom.h" -#include "savestate.h" int key_swap_hack2 = false; diff --git a/luascript.cpp b/luascript.cpp index c134f1de..4dead109 100644 --- a/luascript.cpp +++ b/luascript.cpp @@ -13,8 +13,6 @@ #endif #include "options.h" -#include "savestate.h" -#include "memory.h" #include "debug.h" #include "identify.h" #include "luascript.h" diff --git a/main.cpp b/main.cpp index bc730f73..12aec965 100644 --- a/main.cpp +++ b/main.cpp @@ -30,18 +30,14 @@ #include "gui.h" #include "zfile.h" #include "autoconf.h" -#include "picasso96.h" #include "native2amiga.h" #include "savestate.h" -#include "filesys.h" #include "blkdev.h" #include "consolehook.h" #include "gfxboard.h" #ifdef WITH_LUA #include "luascript.h" #endif -#include "uaenative.h" -#include "tabletlibrary.h" #include "cpuboard.h" #ifdef WITH_PPC #include "uae/ppc.h" diff --git a/memory.cpp b/memory.cpp index e1cf7e90..eee38109 100644 --- a/memory.cpp +++ b/memory.cpp @@ -18,10 +18,8 @@ #include "uae.h" #include "memory.h" #include "rommgr.h" -#include "ersatz.h" #include "zfile.h" #include "custom.h" -#include "events.h" #include "newcpu.h" #include "autoconf.h" #include "savestate.h" @@ -36,17 +34,14 @@ #ifdef ENFORCER #include "enforcer.h" #endif -#include "threaddep/thread.h" #include "gayle.h" #include "debug.h" #include "debugmem.h" -#include "gfxboard.h" #include "cpuboard.h" #ifdef WITH_PPC #include "uae/ppc.h" #endif #include "devices.h" -#include "inputdevice.h" #ifdef WITH_DRACO #include "draco.h" #endif -- 2.47.3