mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Core: Remove some header inclusions in header files
Replaces them with forward declarations of used types, or removes them entirely if they aren't used at all. This also replaces certain Common headers with less inclusive ones (in terms of definitions they pull in).
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
// Basic code analysis.
|
||||
namespace DSPAnalyzer
|
||||
|
@ -4,7 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include <cstring>
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
// super fast breakpoints for a limited range.
|
||||
// To be used interchangeably with the BreakPoints class.
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "Core/DSP/DSPEmitter.h"
|
||||
#include "Core/DSP/DSPHost.h"
|
||||
#include "Core/DSP/DSPHWInterface.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Core/DSP/DSPIntUtil.h"
|
||||
|
||||
SDSP g_dsp;
|
||||
|
@ -29,8 +29,6 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "Common/Thread.h"
|
||||
|
||||
#include "Core/DSP/DSPBreakpoints.h"
|
||||
#include "Core/DSP/DSPCaptureLogger.h"
|
||||
#include "Core/DSP/DSPEmitter.h"
|
||||
|
@ -7,6 +7,8 @@
|
||||
#include "Core/DSP/DSPIntCCUtil.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Core/DSP/DSPIntUtil.h"
|
||||
#include "Core/DSP/DSPMemoryMap.h"
|
||||
#include "Core/DSP/DSPTables.h"
|
||||
|
||||
// Arithmetic and accumulator control.
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Core/DSP/DSPTables.h"
|
||||
#include "Core/DSP/DSPCommon.h"
|
||||
|
||||
// Extended opcode support.
|
||||
// Many opcode have the lower 0xFF (some only 0x7f) free - there, an opcode extension
|
||||
|
@ -6,8 +6,9 @@
|
||||
|
||||
#include "Core/DSP/DSPCore.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
|
||||
#include "Core/DSP/DSPIntUtil.h"
|
||||
#include "Core/DSP/DSPMemoryMap.h"
|
||||
#include "Core/DSP/DSPTables.h"
|
||||
|
||||
namespace DSPInterpreter {
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "Core/DSP/DSPIntCCUtil.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Core/DSP/DSPIntUtil.h"
|
||||
#include "Core/DSP/DSPTables.h"
|
||||
|
||||
namespace DSPInterpreter {
|
||||
|
||||
|
@ -28,8 +28,6 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#include "Core/DSP/DSPCore.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Core/DSP/DSPMemoryMap.h"
|
||||
#include "Core/DSP/DSPStacks.h"
|
||||
|
||||
|
||||
|
@ -26,7 +26,9 @@
|
||||
#include "Core/DSP/DSPAnalyzer.h"
|
||||
#include "Core/DSP/DSPCore.h"
|
||||
#include "Core/DSP/DSPHWInterface.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Core/DSP/DSPIntUtil.h"
|
||||
#include "Core/DSP/DSPMemoryMap.h"
|
||||
#include "Core/DSP/DSPTables.h"
|
||||
|
||||
namespace DSPInterpreter {
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Core/DSP/DSPTables.h"
|
||||
#include "Core/DSP/DSPCommon.h"
|
||||
|
||||
#define DSP_REG_MASK 0x1f
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#include "Core/DSP/DSPCore.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Core/DSP/DSPTables.h"
|
||||
|
||||
u16 dsp_imem_read(u16 addr);
|
||||
void dsp_dmem_write(u16 addr, u16 val);
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include "Core/DSP/DSPEmitter.h"
|
||||
#include "Core/DSP/DSPIntCCUtil.h"
|
||||
#include "Core/DSP/DSPIntUtil.h"
|
||||
#include "Core/DSP/DSPMemoryMap.h"
|
||||
|
||||
using namespace Gen;
|
||||
|
||||
|
@ -6,7 +6,9 @@
|
||||
|
||||
#include "Core/DSP/DSPEmitter.h"
|
||||
#include "Core/DSP/DSPIntCCUtil.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Core/DSP/DSPIntUtil.h"
|
||||
#include "Core/DSP/DSPMemoryMap.h"
|
||||
|
||||
using namespace Gen;
|
||||
|
||||
|
@ -3,7 +3,9 @@
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "Core/DSP/DSPEmitter.h"
|
||||
#include "Core/DSP/DSPInterpreter.h"
|
||||
#include "Core/DSP/DSPIntUtil.h"
|
||||
#include "Core/DSP/DSPMemoryMap.h"
|
||||
|
||||
using namespace Gen;
|
||||
|
||||
|
Reference in New Issue
Block a user