From 161c6274668af9b2bc9d7c46415c317d8768c834 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sat, 11 Dec 2021 11:39:04 -0800 Subject: [PATCH] Treewide: Remove unused inclusions of Most of these became unneeded when fmt was introduced. --- Source/Android/jni/MainAndroid.cpp | 1 - Source/Core/Core/ConfigManager.cpp | 1 - Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp | 1 - Source/Core/Core/HW/DVD/DVDMath.cpp | 1 - Source/Core/Core/HW/GCMemcard/GCIFile.cpp | 2 -- Source/Core/Core/HW/GCMemcard/GCMemcard.cpp | 1 - Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp | 1 - Source/Core/Core/IOS/ES/TitleManagement.cpp | 1 - Source/Core/Core/IOS/IOS.cpp | 1 - Source/Core/Core/IOS/IOSC.cpp | 1 - Source/Core/Core/IOS/WFS/WFSSRV.cpp | 1 - Source/Core/Core/NetPlayServer.cpp | 1 - Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp | 1 - Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.cpp | 1 - Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h | 1 - Source/Core/Core/PowerPC/Jit64Common/TrampolineCache.cpp | 1 - Source/Core/Core/PowerPC/JitArm64/JitArm64_BackPatch.cpp | 1 - Source/Core/Core/PowerPC/JitInterface.cpp | 1 - Source/Core/Core/PowerPC/PPCTables.cpp | 1 - Source/Core/Core/WiiRoot.cpp | 1 - Source/Core/DolphinQt/WiiUpdate.cpp | 1 - Source/Core/UICommon/GameFile.cpp | 1 - Source/Core/VideoBackends/D3D/D3DRender.cpp | 1 - Source/Core/VideoBackends/OGL/OGLRender.cpp | 1 - Source/Core/VideoCommon/VertexLoaderBase.cpp | 1 - Source/UnitTests/Core/PowerPC/JitArm64/FPRF.cpp | 1 - 26 files changed, 27 deletions(-) diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 4b2e6f5358..326995bd39 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include diff --git a/Source/Core/Core/ConfigManager.cpp b/Source/Core/Core/ConfigManager.cpp index 09f4c79853..bd2942e487 100644 --- a/Source/Core/Core/ConfigManager.cpp +++ b/Source/Core/Core/ConfigManager.cpp @@ -4,7 +4,6 @@ #include "Core/ConfigManager.h" #include -#include #include #include #include diff --git a/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp b/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp index ad7fa1a222..9e69daafab 100644 --- a/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp +++ b/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp @@ -3,7 +3,6 @@ #include "Core/DSP/Jit/x64/DSPJitRegCache.h" -#include #include #include "Common/Assert.h" diff --git a/Source/Core/Core/HW/DVD/DVDMath.cpp b/Source/Core/Core/HW/DVD/DVDMath.cpp index 992618d73b..dae98159aa 100644 --- a/Source/Core/Core/HW/DVD/DVDMath.cpp +++ b/Source/Core/Core/HW/DVD/DVDMath.cpp @@ -3,7 +3,6 @@ #include "Core/HW/DVD/DVDMath.h" -#include #include #include "Common/CommonTypes.h" diff --git a/Source/Core/Core/HW/GCMemcard/GCIFile.cpp b/Source/Core/Core/HW/GCMemcard/GCIFile.cpp index 1a18bf9b2e..886448709a 100644 --- a/Source/Core/Core/HW/GCMemcard/GCIFile.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCIFile.cpp @@ -3,8 +3,6 @@ #include "Core/HW/GCMemcard/GCIFile.h" -#include - #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" #include "Common/IOFile.h" diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp b/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp index 13956cca9b..8a8c65a8d9 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp @@ -4,7 +4,6 @@ #include "Core/HW/GCMemcard/GCMemcard.h" #include -#include #include #include #include diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp b/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp index c11eb94fa0..b907e0b698 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/Source/Core/Core/IOS/ES/TitleManagement.cpp b/Source/Core/Core/IOS/ES/TitleManagement.cpp index 4a6e03bcdc..2169185064 100644 --- a/Source/Core/Core/IOS/ES/TitleManagement.cpp +++ b/Source/Core/Core/IOS/ES/TitleManagement.cpp @@ -4,7 +4,6 @@ #include "Core/IOS/ES/ES.h" #include -#include #include #include #include diff --git a/Source/Core/Core/IOS/IOS.cpp b/Source/Core/Core/IOS/IOS.cpp index af2e045da6..9465cbe918 100644 --- a/Source/Core/Core/IOS/IOS.cpp +++ b/Source/Core/Core/IOS/IOS.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/Source/Core/Core/IOS/IOSC.cpp b/Source/Core/Core/IOS/IOSC.cpp index a937bad1ff..06783abc64 100644 --- a/Source/Core/Core/IOS/IOSC.cpp +++ b/Source/Core/Core/IOS/IOSC.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/Source/Core/Core/IOS/WFS/WFSSRV.cpp b/Source/Core/Core/IOS/WFS/WFSSRV.cpp index e6130798fb..0c19df11b6 100644 --- a/Source/Core/Core/IOS/WFS/WFSSRV.cpp +++ b/Source/Core/Core/IOS/WFS/WFSSRV.cpp @@ -4,7 +4,6 @@ #include "Core/IOS/WFS/WFSSRV.h" #include -#include #include #include diff --git a/Source/Core/Core/NetPlayServer.cpp b/Source/Core/Core/NetPlayServer.cpp index 34379f29aa..be79d45739 100644 --- a/Source/Core/Core/NetPlayServer.cpp +++ b/Source/Core/Core/NetPlayServer.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp index 2a2d45d615..0207779e9f 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp @@ -4,7 +4,6 @@ #include "Core/PowerPC/Interpreter/Interpreter.h" #include -#include #include #include diff --git a/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.cpp b/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.cpp index b730e6413a..fe147247ad 100644 --- a/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.cpp +++ b/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.cpp @@ -4,7 +4,6 @@ #include "Core/PowerPC/Jit64/RegCache/JitRegCache.h" #include -#include #include #include #include diff --git a/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h b/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h index a7fa58d103..7f62befa0a 100644 --- a/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h +++ b/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h @@ -4,7 +4,6 @@ #pragma once #include -#include #include #include #include diff --git a/Source/Core/Core/PowerPC/Jit64Common/TrampolineCache.cpp b/Source/Core/Core/PowerPC/Jit64Common/TrampolineCache.cpp index e4b80f2c40..d30b1eacb9 100644 --- a/Source/Core/Core/PowerPC/Jit64Common/TrampolineCache.cpp +++ b/Source/Core/Core/PowerPC/Jit64Common/TrampolineCache.cpp @@ -3,7 +3,6 @@ #include "Core/PowerPC/Jit64Common/TrampolineCache.h" -#include #include #include "Common/CommonTypes.h" diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_BackPatch.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_BackPatch.cpp index ad82c52553..5c68e12338 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_BackPatch.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_BackPatch.cpp @@ -3,7 +3,6 @@ #include "Core/PowerPC/JitArm64/Jit.h" -#include #include #include #include diff --git a/Source/Core/Core/PowerPC/JitInterface.cpp b/Source/Core/Core/PowerPC/JitInterface.cpp index 9c77b7bfb2..e39efd143b 100644 --- a/Source/Core/Core/PowerPC/JitInterface.cpp +++ b/Source/Core/Core/PowerPC/JitInterface.cpp @@ -4,7 +4,6 @@ #include "Core/PowerPC/JitInterface.h" #include -#include #include #include #include diff --git a/Source/Core/Core/PowerPC/PPCTables.cpp b/Source/Core/Core/PowerPC/PPCTables.cpp index ec8191a37b..f91ab510d5 100644 --- a/Source/Core/Core/PowerPC/PPCTables.cpp +++ b/Source/Core/Core/PowerPC/PPCTables.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/Source/Core/Core/WiiRoot.cpp b/Source/Core/Core/WiiRoot.cpp index de26bd4cf1..5ff55a91f4 100644 --- a/Source/Core/Core/WiiRoot.cpp +++ b/Source/Core/Core/WiiRoot.cpp @@ -3,7 +3,6 @@ #include "Core/WiiRoot.h" -#include #include #include #include diff --git a/Source/Core/DolphinQt/WiiUpdate.cpp b/Source/Core/DolphinQt/WiiUpdate.cpp index 33371fff49..edd3ba9593 100644 --- a/Source/Core/DolphinQt/WiiUpdate.cpp +++ b/Source/Core/DolphinQt/WiiUpdate.cpp @@ -3,7 +3,6 @@ #include "DolphinQt/WiiUpdate.h" -#include #include #include diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index ee1ca0557f..b9c5db1379 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/Source/Core/VideoBackends/D3D/D3DRender.cpp b/Source/Core/VideoBackends/D3D/D3DRender.cpp index 0ab04255c1..24d7526110 100644 --- a/Source/Core/VideoBackends/D3D/D3DRender.cpp +++ b/Source/Core/VideoBackends/D3D/D3DRender.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/Source/Core/VideoBackends/OGL/OGLRender.cpp b/Source/Core/VideoBackends/OGL/OGLRender.cpp index 3b70579d90..53ed78877f 100644 --- a/Source/Core/VideoBackends/OGL/OGLRender.cpp +++ b/Source/Core/VideoBackends/OGL/OGLRender.cpp @@ -4,7 +4,6 @@ #include "VideoBackends/OGL/OGLRender.h" #include -#include #include #include #include diff --git a/Source/Core/VideoCommon/VertexLoaderBase.cpp b/Source/Core/VideoCommon/VertexLoaderBase.cpp index a9740329de..12f33bf038 100644 --- a/Source/Core/VideoCommon/VertexLoaderBase.cpp +++ b/Source/Core/VideoCommon/VertexLoaderBase.cpp @@ -4,7 +4,6 @@ #include "VideoCommon/VertexLoaderBase.h" #include -#include #include #include #include diff --git a/Source/UnitTests/Core/PowerPC/JitArm64/FPRF.cpp b/Source/UnitTests/Core/PowerPC/JitArm64/FPRF.cpp index 30d29e4df9..6aa0822286 100644 --- a/Source/UnitTests/Core/PowerPC/JitArm64/FPRF.cpp +++ b/Source/UnitTests/Core/PowerPC/JitArm64/FPRF.cpp @@ -1,7 +1,6 @@ // Copyright 2021 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -#include #include #include