Core: Move includes out of instruction table headers

These aren't necessary (and cause unnecessary indirect inclusions).
This commit is contained in:
Lioncash 2015-08-22 11:55:59 -04:00
parent a248a4d2ce
commit fdafa5d063
6 changed files with 11 additions and 12 deletions

View File

@ -2,6 +2,9 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/PPCTables.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Core/PowerPC/Interpreter/Interpreter_Tables.h"
struct GekkoOPTemplate

View File

@ -4,10 +4,6 @@
#pragma once
#include "../Gekko.h"
#include "../PPCTables.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
namespace InterpreterTables
{
void InitTables();

View File

@ -2,6 +2,7 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/Jit64/Jit.h"
#include "Core/PowerPC/Jit64/Jit64_Tables.h"

View File

@ -4,12 +4,10 @@
#pragma once
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/PPCTables.h"
#include "Core/PowerPC/Jit64/Jit.h"
namespace PPCAnalyst { struct CodeOp; }
namespace Jit64Tables
{
void CompileInstruction(PPCAnalyst::CodeOp & op);
void CompileInstruction(PPCAnalyst::CodeOp& op);
void InitTables();
}

View File

@ -2,6 +2,9 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/PPCTables.h"
#include "Core/PowerPC/Jit64IL/JitIL.h"
#include "Core/PowerPC/Jit64IL/JitIL_Tables.h"
static JitIL::Instruction dynaOpTable[64];

View File

@ -4,12 +4,10 @@
#pragma once
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/PPCTables.h"
#include "Core/PowerPC/Jit64IL/JitIL.h"
namespace PPCAnalyst { struct CodeOp; }
namespace JitILTables
{
void CompileInstruction(PPCAnalyst::CodeOp & op);
void CompileInstruction(PPCAnalyst::CodeOp& op);
void InitTables();
}