diff --git a/Source/Core/VideoBackends/Software/Clipper.cpp b/Source/Core/VideoBackends/Software/Clipper.cpp index 8917eeedb9..764247bdaf 100644 --- a/Source/Core/VideoBackends/Software/Clipper.cpp +++ b/Source/Core/VideoBackends/Software/Clipper.cpp @@ -36,7 +36,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "VideoBackends/Software/Clipper.h" -#include "Common/ChunkFile.h" + +#include "Common/Assert.h" + #include "VideoBackends/Software/NativeVertexFormat.h" #include "VideoBackends/Software/Rasterizer.h" diff --git a/Source/Core/VideoBackends/Software/DebugUtil.cpp b/Source/Core/VideoBackends/Software/DebugUtil.cpp index 95627abc5a..f1aeaea9fe 100644 --- a/Source/Core/VideoBackends/Software/DebugUtil.cpp +++ b/Source/Core/VideoBackends/Software/DebugUtil.cpp @@ -11,8 +11,6 @@ #include "Common/FileUtil.h" #include "Common/StringUtil.h" -#include "Core/ConfigManager.h" - #include "VideoBackends/Software/EfbInterface.h" #include "VideoBackends/Software/SWRenderer.h" #include "VideoBackends/Software/TextureSampler.h" diff --git a/Source/Core/VideoBackends/Software/EfbCopy.h b/Source/Core/VideoBackends/Software/EfbCopy.h index b7101c55b8..95986c1dd5 100644 --- a/Source/Core/VideoBackends/Software/EfbCopy.h +++ b/Source/Core/VideoBackends/Software/EfbCopy.h @@ -4,8 +4,6 @@ #pragma once -#include "Common/CommonTypes.h" - namespace EfbCopy { // Copy the EFB to RAM as a texture format or XFB diff --git a/Source/Core/VideoBackends/Software/NativeVertexFormat.h b/Source/Core/VideoBackends/Software/NativeVertexFormat.h index 4da332b71b..f1ee48fccf 100644 --- a/Source/Core/VideoBackends/Software/NativeVertexFormat.h +++ b/Source/Core/VideoBackends/Software/NativeVertexFormat.h @@ -4,7 +4,7 @@ #pragma once -#include "Common/ChunkFile.h" +#include "Common/CommonTypes.h" #include "VideoBackends/Software/Vec3.h" struct Vec4 diff --git a/Source/Core/VideoBackends/Software/Rasterizer.h b/Source/Core/VideoBackends/Software/Rasterizer.h index 29fa6d6dee..215525be8c 100644 --- a/Source/Core/VideoBackends/Software/Rasterizer.h +++ b/Source/Core/VideoBackends/Software/Rasterizer.h @@ -4,7 +4,7 @@ #pragma once -#include "Common/ChunkFile.h" +#include "Common/CommonTypes.h" struct OutputVertexData; diff --git a/Source/Core/VideoBackends/Software/SWRenderer.h b/Source/Core/VideoBackends/Software/SWRenderer.h index 919d06c6ab..0c9bca29a5 100644 --- a/Source/Core/VideoBackends/Software/SWRenderer.h +++ b/Source/Core/VideoBackends/Software/SWRenderer.h @@ -5,7 +5,6 @@ #pragma once #include "Common/CommonTypes.h" -#include "Common/Thread.h" #include "VideoBackends/Software/EfbInterface.h" diff --git a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp index c55124430c..9e05ca2cae 100644 --- a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp +++ b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp @@ -2,17 +2,17 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Software/SWVertexLoader.h" + #include -#include "Common/ChunkFile.h" +#include "Common/Assert.h" #include "Common/CommonTypes.h" +#include "Common/Logging/Log.h" -#include "VideoBackends/Software/Clipper.h" #include "VideoBackends/Software/DebugUtil.h" #include "VideoBackends/Software/NativeVertexFormat.h" #include "VideoBackends/Software/Rasterizer.h" -#include "VideoBackends/Software/SWVertexLoader.h" -#include "VideoBackends/Software/SetupUnit.h" #include "VideoBackends/Software/Tev.h" #include "VideoBackends/Software/TransformUnit.h" diff --git a/Source/Core/VideoBackends/Software/SWVertexLoader.h b/Source/Core/VideoBackends/Software/SWVertexLoader.h index 6ebacda50b..dcc34f6dee 100644 --- a/Source/Core/VideoBackends/Software/SWVertexLoader.h +++ b/Source/Core/VideoBackends/Software/SWVertexLoader.h @@ -11,7 +11,6 @@ #include "VideoBackends/Software/NativeVertexFormat.h" #include "VideoBackends/Software/SetupUnit.h" -#include "VideoCommon/VertexLoaderBase.h" #include "VideoCommon/VertexManagerBase.h" class SWVertexLoader : public VertexManagerBase diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index ab1910fd1e..47c5b43556 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -19,7 +19,6 @@ #include "VideoCommon/FramebufferManagerBase.h" #include "VideoCommon/OnScreenDisplay.h" -#include "VideoCommon/PixelEngine.h" #include "VideoCommon/TextureCacheBase.h" #include "VideoCommon/VideoCommon.h" #include "VideoCommon/VideoConfig.h" diff --git a/Source/Core/VideoBackends/Software/SetupUnit.cpp b/Source/Core/VideoBackends/Software/SetupUnit.cpp index 78e331e15a..684dd0e4bd 100644 --- a/Source/Core/VideoBackends/Software/SetupUnit.cpp +++ b/Source/Core/VideoBackends/Software/SetupUnit.cpp @@ -3,7 +3,9 @@ // Refer to the license.txt file included. #include "VideoBackends/Software/SetupUnit.h" -#include "Common/ChunkFile.h" + +#include "Common/Logging/Log.h" + #include "VideoBackends/Software/Clipper.h" #include "VideoCommon/OpcodeDecoding.h" diff --git a/Source/Core/VideoBackends/Software/TextureSampler.cpp b/Source/Core/VideoBackends/Software/TextureSampler.cpp index 648dd7446b..248e4a6f19 100644 --- a/Source/Core/VideoBackends/Software/TextureSampler.cpp +++ b/Source/Core/VideoBackends/Software/TextureSampler.cpp @@ -2,12 +2,13 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Software/TextureSampler.h" + #include #include -#include "Common/Common.h" +#include "Common/CommonTypes.h" #include "Core/HW/Memmap.h" -#include "VideoBackends/Software/TextureSampler.h" #include "VideoCommon/BPMemory.h" #include "VideoCommon/SamplerCommon.h" diff --git a/Source/Core/VideoBackends/Software/TransformUnit.cpp b/Source/Core/VideoBackends/Software/TransformUnit.cpp index 38734fa17c..0a2138f193 100644 --- a/Source/Core/VideoBackends/Software/TransformUnit.cpp +++ b/Source/Core/VideoBackends/Software/TransformUnit.cpp @@ -2,14 +2,19 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Software/TransformUnit.h" + #include #include +#include "Common/Assert.h" +#include "Common/CommonFuncs.h" #include "Common/CommonTypes.h" +#include "Common/Logging/Log.h" #include "Common/MathUtil.h" +#include "Common/MsgHandler.h" #include "VideoBackends/Software/NativeVertexFormat.h" -#include "VideoBackends/Software/TransformUnit.h" #include "VideoBackends/Software/Vec3.h" #include "VideoCommon/BPMemory.h" diff --git a/Source/Core/VideoBackends/Software/Vec3.h b/Source/Core/VideoBackends/Software/Vec3.h index 51fc435f4d..ab60429a6a 100644 --- a/Source/Core/VideoBackends/Software/Vec3.h +++ b/Source/Core/VideoBackends/Software/Vec3.h @@ -7,8 +7,6 @@ #include #include -#include "Common/ChunkFile.h" - class Vec3 { public: diff --git a/Source/Core/VideoBackends/Software/VideoBackend.h b/Source/Core/VideoBackends/Software/VideoBackend.h index 99eec53a4e..fbc2cbd20d 100644 --- a/Source/Core/VideoBackends/Software/VideoBackend.h +++ b/Source/Core/VideoBackends/Software/VideoBackend.h @@ -7,11 +7,6 @@ #include #include "VideoCommon/VideoBackendBase.h" -namespace MMIO -{ -class Mapping; -} - namespace SW { class VideoSoftware : public VideoBackendBase