Remove some unnecessary includes as well as simplifying exisiting ones if possible.

This commit is contained in:
Lioncash
2013-10-19 19:58:56 -04:00
parent bf352c3ed0
commit 97cd42f5c3
69 changed files with 30 additions and 98 deletions
@@ -2,7 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#include "AudioCommon.h"
#include "CommonTypes.h"
#include "NullSoundStream.h"
#include "../../Core/Src/HW/SystemTimers.h"
#include "../../Core/Src/HW/AudioInterface.h"
@@ -5,8 +5,8 @@
#ifndef _NULLSOUNDSTREAM_H_
#define _NULLSOUNDSTREAM_H_
#include <stdlib.h>
#include "SoundStream.h"
#include "Thread.h"
#define BUF_SIZE (48000 * 4 / 32)
+1 -1
View File
@@ -5,7 +5,7 @@
#ifndef _OPENALSTREAM_H_
#define _OPENALSTREAM_H_
#include "Common.h"
#include "CommonTypes.h"
#include "SoundStream.h"
#include "Thread.h"
+3 -3
View File
@@ -8,7 +8,7 @@
#include <vector>
#include <string>
#include "Common.h"
#include "CommonTypes.h"
class DebugInterface;
@@ -67,7 +67,7 @@ public:
void Remove(u32 _iAddress);
void Clear();
void DeleteByAddress(u32 _Address);
void DeleteByAddress(u32 _Address);
private:
TBreakPoints m_BreakPoints;
@@ -93,7 +93,7 @@ public:
// memory breakpoint
TMemCheck *GetMemCheck(u32 address);
void Remove(u32 _Address);
void Remove(u32 _Address);
void Clear() { m_MemChecks.clear(); };
};
-2
View File
@@ -1,10 +1,8 @@
#ifndef _CDUTILS_H_
#define _CDUTILS_H_
#include <stdlib.h>
#include <vector>
#include <string>
#include <stdio.h>
// Returns a pointer to an array of strings with the device names
std::vector<std::string> cdio_get_devices();
+1 -4
View File
@@ -3,18 +3,15 @@
// Refer to the license.txt file included.
#include <algorithm> // min
#include <cstdlib>
#include <string> // System: To be able to add strings with "+"
#include <stdio.h>
#include <math.h>
#ifdef _WIN32
#include <windows.h>
#include <array>
#else
#include <stdarg.h>
#endif
#include "Common.h"
#include "LogManager.h" // Common
#include "ConsoleListener.h" // Common
ConsoleListener::ConsoleListener()
-1
View File
@@ -2,7 +2,6 @@
#define _DEBUGINTERFACE_H
#include <string>
#include <string.h>
class DebugInterface
{
-1
View File
@@ -18,7 +18,6 @@
#if defined(WIN32)
#include <windows.h>
#include <tchar.h>
#include <string>
+1 -1
View File
@@ -16,7 +16,7 @@
// http://code.google.com/p/dolphin-emu/
#ifndef FPU_ROUND_MODE_H_
#define FPU_ROUND_MODE_H_
#include "Common.h"
#include "CommonTypes.h"
namespace FPURoundMode
{
+1 -1
View File
@@ -15,6 +15,6 @@
// Official Git repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "Common.h"
#include "CommonTypes.h"
bool SDCardCreate(u64 disk_size /*in MB*/, const char* filename);
+1 -1
View File
@@ -5,7 +5,7 @@
#ifndef _TIMER_H_
#define _TIMER_H_
#include "Common.h"
#include "CommonTypes.h"
#include <string>
namespace Common
-3
View File
@@ -5,9 +5,6 @@
#ifndef _ARDECRYPT_H_
#define _ARDECRYPT_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include "Common.h"
#include "ActionReplay.h"
-3
View File
@@ -12,13 +12,11 @@
#include "../PowerPC/PowerPC.h"
#include "../PowerPC/PPCAnalyst.h"
#include "../Core.h"
#include "../HW/HW.h"
#include "../HW/EXI_DeviceIPL.h"
#include "../HW/Memmap.h"
#include "../HW/ProcessorInterface.h"
#include "../HW/DVDInterface.h"
#include "../HW/VideoInterface.h"
#include "../HW/CPU.h"
#include "../IPC_HLE/WII_IPC_HLE.h"
#include "../Debugger/Debugger_SymbolMap.h" // Debugger
@@ -30,7 +28,6 @@
#include "../PatchEngine.h"
#include "../PowerPC/SignatureDB.h"
#include "../PowerPC/PPCSymbolDB.h"
#include "../MemTools.h"
#include "../ConfigManager.h"
#include "VolumeCreator.h" // DiscIO
+1 -1
View File
@@ -5,9 +5,9 @@
#ifndef _BOOT_H
#define _BOOT_H
#include <cstdlib>
#include <string>
#include "Common.h"
#include "../CoreParameter.h"
class CBoot
@@ -14,7 +14,6 @@
#include "../HW/DVDInterface.h"
#include "../HW/CPU.h"
#include "../Host.h"
#include "../VolumeHandler.h"
#include "../PatchEngine.h"
#include "../MemTools.h"
+1 -1
View File
@@ -5,7 +5,7 @@
#ifndef _BOOT_DOL_H
#define _BOOT_DOL_H
#include "Common.h"
#include "CommonTypes.h"
class CDolLoader
{
-1
View File
@@ -16,7 +16,6 @@
#include "MathUtil.h"
#include "MemoryUtil.h"
#include "Console.h"
#include "Core.h"
#include "CPUDetect.h"
#include "CoreTiming.h"
+1 -1
View File
@@ -15,7 +15,7 @@
#include <vector>
#include <string>
#include "Common.h"
#include "CommonTypes.h"
#include "CoreParameter.h"
namespace Core
-1
View File
@@ -10,7 +10,6 @@
#include "DSPHost.h"
#include "DSPInterpreter.h"
#include "DSPAnalyzer.h"
#include "Jit/DSPJitUtil.h"
#include "x64Emitter.h"
#include "x64ABI.h"
@@ -24,7 +24,6 @@
====================================================================*/
#include "DSPTables.h"
#include "DSPHost.h"
#include "DSPCore.h"
#include "DSPAnalyzer.h"

Some files were not shown because too many files have changed in this diff Show More