diff --git a/Source/Core/Core/Boot/Boot.cpp b/Source/Core/Core/Boot/Boot.cpp index dd8eeb5c7d..ce9290e306 100644 --- a/Source/Core/Core/Boot/Boot.cpp +++ b/Source/Core/Core/Boot/Boot.cpp @@ -2,6 +2,9 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "Core/Boot/Boot.h" + +#include #include #include @@ -10,10 +13,10 @@ #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" #include "Common/FileUtil.h" +#include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" -#include "Core/Boot/Boot.h" #include "Core/Boot/Boot_DOL.h" #include "Core/ConfigManager.h" #include "Core/Core.h" @@ -23,7 +26,6 @@ #include "Core/HW/DVDInterface.h" #include "Core/HW/EXI/EXI_DeviceIPL.h" #include "Core/HW/Memmap.h" -#include "Core/HW/ProcessorInterface.h" #include "Core/HW/VideoInterface.h" #include "Core/Host.h" #include "Core/IOS/IPC.h" @@ -36,7 +38,6 @@ #include "DiscIO/Enums.h" #include "DiscIO/NANDContentLoader.h" #include "DiscIO/Volume.h" -#include "DiscIO/VolumeCreator.h" bool CBoot::DVDRead(u64 dvd_offset, u32 output_address, u32 length, bool decrypt) { diff --git a/Source/Core/Core/Boot/Boot.h b/Source/Core/Core/Boot/Boot.h index 6618036e3c..9381ee809e 100644 --- a/Source/Core/Core/Boot/Boot.h +++ b/Source/Core/Core/Boot/Boot.h @@ -7,6 +7,8 @@ #include #include +#include "Common/CommonTypes.h" + struct RegionSetting { const std::string area; diff --git a/Source/Core/Core/Boot/Boot_BS2Emu.cpp b/Source/Core/Core/Boot/Boot_BS2Emu.cpp index e3ba2536da..836d635e58 100644 --- a/Source/Core/Core/Boot/Boot_BS2Emu.cpp +++ b/Source/Core/Core/Boot/Boot_BS2Emu.cpp @@ -2,10 +2,15 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. -#include "Common/Assert.h" +#include +#include +#include + #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" #include "Common/FileUtil.h" +#include "Common/Logging/Log.h" +#include "Common/MsgHandler.h" #include "Common/NandPaths.h" #include "Common/SettingsHandler.h" @@ -13,13 +18,11 @@ #include "Core/ConfigManager.h" #include "Core/Core.h" #include "Core/HLE/HLE.h" -#include "Core/HW/CPU.h" #include "Core/HW/DVDInterface.h" #include "Core/HW/EXI/EXI_DeviceIPL.h" #include "Core/HW/Memmap.h" #include "Core/IOS/ES/Formats.h" #include "Core/IOS/IPC.h" -#include "Core/MemTools.h" #include "Core/PatchEngine.h" #include "Core/PowerPC/PowerPC.h" diff --git a/Source/Core/Core/Boot/Boot_WiiWAD.cpp b/Source/Core/Core/Boot/Boot_WiiWAD.cpp index ba13a9dd7f..19d7468162 100644 --- a/Source/Core/Core/Boot/Boot_WiiWAD.cpp +++ b/Source/Core/Core/Boot/Boot_WiiWAD.cpp @@ -6,24 +6,20 @@ #include #include "Common/CommonPaths.h" +#include "Common/CommonTypes.h" #include "Common/FileUtil.h" #include "Common/NandPaths.h" #include "Core/Boot/Boot.h" #include "Core/Boot/Boot_DOL.h" -#include "Core/HLE/HLE.h" -#include "Core/HW/Memmap.h" -#include "Core/HW/VideoInterface.h" #include "Core/IOS/FS/FileIO.h" #include "Core/IOS/IPC.h" #include "Core/PatchEngine.h" #include "Core/PowerPC/PowerPC.h" -#include "DiscIO/Enums.h" #include "DiscIO/NANDContentLoader.h" #include "DiscIO/Volume.h" #include "DiscIO/VolumeCreator.h" -#include "DiscIO/WiiWad.h" static u32 state_checksum(u32* buf, int len) { diff --git a/Source/Core/Core/Boot/ElfReader.cpp b/Source/Core/Core/Boot/ElfReader.cpp index 77885649dd..d88bf2097b 100644 --- a/Source/Core/Core/Boot/ElfReader.cpp +++ b/Source/Core/Core/Boot/ElfReader.cpp @@ -2,14 +2,15 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "Core/Boot/ElfReader.h" + #include #include "Common/CommonFuncs.h" #include "Common/CommonTypes.h" +#include "Common/Logging/Log.h" #include "Common/MsgHandler.h" -#include "Core/Boot/ElfReader.h" -#include "Core/Debugger/Debugger_SymbolMap.h" #include "Core/HW/Memmap.h" #include "Core/PowerPC/PPCSymbolDB.h" diff --git a/Source/Core/Core/Boot/ElfReader.h b/Source/Core/Core/Boot/ElfReader.h index 447b33f9b4..6a886761e4 100644 --- a/Source/Core/Core/Boot/ElfReader.h +++ b/Source/Core/Core/Boot/ElfReader.h @@ -4,6 +4,7 @@ #pragma once +#include "Common/CommonTypes.h" #include "Core/Boot/ElfTypes.h" enum KnownElfTypes