Core: Remove unnecessary includes

Also moves a cpp file's related header file to the top of the inclusions if it isn't already there.
This commit is contained in:
Lioncash 2017-06-08 00:53:59 -04:00
commit dd4203bec8
97 changed files with 148 additions and 138 deletions

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/Debugger/Debugger_SymbolMap.h"
#include <cstdio>
#include <functional>
#include <string>
@ -10,7 +12,6 @@
#include "Common/StringUtil.h"
#include "Core/Core.h"
#include "Core/Debugger/Debugger_SymbolMap.h"
#include "Core/HW/Memmap.h"
#include "Core/PowerPC/PPCAnalyst.h"
#include "Core/PowerPC/PPCSymbolDB.h"

View file

@ -2,14 +2,14 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/Debugger/Dump.h"
#include <cstdio>
#include <string>
#include "Common/CommonTypes.h"
#include "Common/File.h"
#include "Core/Debugger/Dump.h"
CDump::CDump(const std::string& filename) : m_pData(nullptr)
{
File::IOFile pStream(filename, "rb");

View file

@ -12,7 +12,6 @@
#include "Core/Core.h"
#include "Core/HW/DSP.h"
#include "Core/PowerPC/JitCommon/JitBase.h"
#include "Core/PowerPC/PPCSymbolDB.h"
#include "Core/PowerPC/PowerPC.h"