diff --git a/CMakeLists.txt b/CMakeLists.txt index 09e2535e6a..10ba7c7560 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -474,18 +474,6 @@ endif() # include_directories(Source/Core) -# TODO(delroth): Remove when relative-includes is done. -include_directories(Source/Core/AudioCommon) -include_directories(Source/Core/Common) -include_directories(Source/Core/Core) -include_directories(Source/Core/DebuggerUICommon) -include_directories(Source/Core/DebuggerWX) -include_directories(Source/Core/DiscIO) -include_directories(Source/Core/DolphinWX) -include_directories(Source/Core/InputCommon) -include_directories(Source/Core/VideoCommon) -include_directories(Source/Core/VideoUICommon) - ######################################## # Process externals and setup their include directories # diff --git a/Source/Core/Core/HW/DSPLLE/DSPHost.cpp b/Source/Core/Core/HW/DSPLLE/DSPHost.cpp index bfeae3f45b..c29a3e9d7c 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPHost.cpp +++ b/Source/Core/Core/HW/DSPLLE/DSPHost.cpp @@ -4,7 +4,6 @@ #include "Common/Common.h" #include "Common/Hash.h" - #include "Core/Host.h" #include "Core/ConfigManager.h" #include "Core/DSP/DSPAnalyzer.h" @@ -14,8 +13,7 @@ #include "Core/HW/DSPLLE/DSPSymbols.h" #include "Core/HW/DSPLLE/DSPLLETools.h" #include "Core/PowerPC/PowerPC.h" - -#include "OnScreenDisplay.h" +#include "VideoCommon/OnScreenDisplay.h" // The user of the DSPCore library must supply a few functions so that the // emulation core can access the environment it runs in. If the emulation diff --git a/Source/Core/Core/HW/EXI_Channel.cpp b/Source/Core/Core/HW/EXI_Channel.cpp index a62a5b815b..902f50e7d4 100644 --- a/Source/Core/Core/HW/EXI_Channel.cpp +++ b/Source/Core/Core/HW/EXI_Channel.cpp @@ -3,20 +3,19 @@ // Refer to the license.txt file included. #include "Core/ConfigManager.h" +#include "Core/CoreTiming.h" #include "Core/Movie.h" #include "Core/HW/EXI.h" #include "Core/HW/EXI_Channel.h" #include "Core/HW/EXI_Device.h" #include "Core/HW/MMIO.h" +#include "Core/HW/ProcessorInterface.h" +#include "Core/PowerPC/PowerPC.h" #define EXI_READ 0 #define EXI_WRITE 1 #define EXI_READWRITE 2 -#include "ProcessorInterface.h" -#include "../PowerPC/PowerPC.h" -#include "CoreTiming.h" - CEXIChannel::CEXIChannel(u32 ChannelId) : m_DMAMemoryAddress(0), m_DMALength(0), diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp index 9318e10d6f..4bcccd8f03 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp @@ -8,6 +8,7 @@ #include "Common/CommonPaths.h" #include "Common/FileUtil.h" #include "Common/SettingsHandler.h" +#include "Common/StringUtil.h" #include "Core/ConfigManager.h" #include "Core/ec_wii.h" @@ -457,7 +458,6 @@ bool CWII_IPC_HLE_Device_net_wd_command::Close(u32 CommandAddress, bool Force) // This is just for debugging / playing around. // There really is no reason to implement wd unless we can bend it such that // we can talk to the DS. -#include "StringUtil.h" bool CWII_IPC_HLE_Device_net_wd_command::IOCtlV(u32 CommandAddress) { u32 return_value = 0; diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp index c926eb9c58..e2c2417837 100644 --- a/Source/Core/VideoCommon/AVIDump.cpp +++ b/Source/Core/VideoCommon/AVIDump.cpp @@ -204,9 +204,9 @@ bool AVIDump::SetVideoFormat() #else -#include "FileUtil.h" -#include "StringUtil.h" -#include "Log.h" +#include "Common/FileUtil.h" +#include "Common/Log.h" +#include "Common/StringUtil.h" extern "C" { #include diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp index 3383d7f79a..21955b27a5 100644 --- a/Source/Core/VideoCommon/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/CommandProcessor.cpp @@ -2,24 +2,24 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#include "Common.h" -#include "VideoCommon.h" -#include "VideoConfig.h" -#include "MathUtil.h" -#include "Thread.h" -#include "Atomic.h" -#include "Fifo.h" -#include "ChunkFile.h" -#include "CommandProcessor.h" -#include "PixelEngine.h" -#include "CoreTiming.h" -#include "ConfigManager.h" -#include "HW/ProcessorInterface.h" -#include "HW/GPFifo.h" -#include "HW/Memmap.h" -#include "HW/SystemTimers.h" -#include "Core.h" -#include "HW/MMIO.h" +#include "Common/Common.h" +#include "Common/MathUtil.h" +#include "Common/Thread.h" +#include "Common/Atomic.h" +#include "Common/ChunkFile.h" +#include "Core/ConfigManager.h" +#include "Core/Core.h" +#include "Core/CoreTiming.h" +#include "Core/HW/GPFifo.h" +#include "Core/HW/Memmap.h" +#include "Core/HW/MMIO.h" +#include "Core/HW/ProcessorInterface.h" +#include "Core/HW/SystemTimers.h" +#include "VideoCommon/CommandProcessor.h" +#include "VideoCommon/Fifo.h" +#include "VideoCommon/PixelEngine.h" +#include "VideoCommon/VideoCommon.h" +#include "VideoCommon/VideoConfig.h" namespace CommandProcessor {