Merge pull request #3975 from lioncash/header

FifoPlayer: Remove unnecessary headers/namespace cleanup
This commit is contained in:
Mat M 2016-07-01 05:36:42 -04:00 committed by GitHub
commit 55ec1b69fc
10 changed files with 15 additions and 24 deletions

View File

@ -5,11 +5,11 @@
#include <algorithm> #include <algorithm>
#include <numeric> #include <numeric>
#include "Core/FifoPlayer/FifoAnalyzer.h"
#include "Common/Assert.h" #include "Common/Assert.h"
#include "Core/ConfigManager.h" #include "Core/ConfigManager.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/FifoPlayer/FifoAnalyzer.h"
#include "Core/FifoPlayer/FifoPlaybackAnalyzer.h"
#include "Core/FifoPlayer/FifoRecordAnalyzer.h" #include "Core/FifoPlayer/FifoRecordAnalyzer.h"
#include "VideoCommon/OpcodeDecoding.h" #include "VideoCommon/OpcodeDecoding.h"
#include "VideoCommon/VertexLoader.h" #include "VideoCommon/VertexLoader.h"

View File

@ -6,7 +6,6 @@
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "VideoCommon/BPMemory.h"
#include "VideoCommon/CPMemory.h" #include "VideoCommon/CPMemory.h"
namespace FifoAnalyzer namespace FifoAnalyzer

View File

@ -3,13 +3,10 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "Core/FifoPlayer/FifoPlaybackAnalyzer.h" #include "Core/FifoPlayer/FifoPlaybackAnalyzer.h"
#include "Common/Assert.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Core/FifoPlayer/FifoAnalyzer.h" #include "Core/FifoPlayer/FifoAnalyzer.h"
#include "Core/FifoPlayer/FifoDataFile.h" #include "Core/FifoPlayer/FifoDataFile.h"
#include "VideoCommon/OpcodeDecoding.h"
#include "VideoCommon/TextureDecoder.h"
#include "VideoCommon/VertexLoader.h"
using namespace FifoAnalyzer; using namespace FifoAnalyzer;

View File

@ -7,7 +7,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "Core/FifoPlayer/FifoAnalyzer.h"
#include "Core/FifoPlayer/FifoDataFile.h" #include "Core/FifoPlayer/FifoDataFile.h"
struct AnalyzedFrameInfo struct AnalyzedFrameInfo
@ -20,4 +19,4 @@ struct AnalyzedFrameInfo
namespace FifoPlaybackAnalyzer namespace FifoPlaybackAnalyzer
{ {
void AnalyzeFrames(FifoDataFile* file, std::vector<AnalyzedFrameInfo>& frameInfo); void AnalyzeFrames(FifoDataFile* file, std::vector<AnalyzedFrameInfo>& frameInfo);
}; } // namespace FifoPlaybackAnalyzer

View File

@ -5,14 +5,15 @@
#include <algorithm> #include <algorithm>
#include <mutex> #include <mutex>
#include "Core/FifoPlayer/FifoPlayer.h"
#include "Common/Assert.h" #include "Common/Assert.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/MsgHandler.h" #include "Common/MsgHandler.h"
#include "Core/ConfigManager.h" #include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "Core/CoreTiming.h" #include "Core/CoreTiming.h"
#include "Core/FifoPlayer/FifoAnalyzer.h"
#include "Core/FifoPlayer/FifoDataFile.h" #include "Core/FifoPlayer/FifoDataFile.h"
#include "Core/FifoPlayer/FifoPlayer.h"
#include "Core/HW/CPU.h" #include "Core/HW/CPU.h"
#include "Core/HW/GPFifo.h" #include "Core/HW/GPFifo.h"
#include "Core/HW/Memmap.h" #include "Core/HW/Memmap.h"

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "Core/FifoPlayer/FifoDataFile.h"
#include "Core/FifoPlayer/FifoPlaybackAnalyzer.h" #include "Core/FifoPlayer/FifoPlaybackAnalyzer.h"
#include "Core/PowerPC/CPUCoreBase.h" #include "Core/PowerPC/CPUCoreBase.h"

View File

@ -4,14 +4,11 @@
#include <algorithm> #include <algorithm>
#include "Common/Assert.h"
#include "Core/Core.h"
#include "Core/FifoPlayer/FifoAnalyzer.h"
#include "Core/FifoPlayer/FifoRecordAnalyzer.h" #include "Core/FifoPlayer/FifoRecordAnalyzer.h"
#include "Core/FifoPlayer/FifoAnalyzer.h"
#include "Core/FifoPlayer/FifoRecorder.h" #include "Core/FifoPlayer/FifoRecorder.h"
#include "Core/HW/Memmap.h" #include "Core/HW/Memmap.h"
#include "VideoCommon/OpcodeDecoding.h"
#include "VideoCommon/TextureDecoder.h"
using namespace FifoAnalyzer; using namespace FifoAnalyzer;

View File

@ -6,10 +6,6 @@
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Core/FifoPlayer/FifoAnalyzer.h"
#include "VideoCommon/BPMemory.h"
namespace FifoRecordAnalyzer namespace FifoRecordAnalyzer
{ {
// Must call this before analyzing Fifo commands with FifoAnalyzer::AnalyzeCommand() // Must call this before analyzing Fifo commands with FifoAnalyzer::AnalyzeCommand()
@ -17,4 +13,4 @@ void Initialize(u32* cpMem);
void ProcessLoadIndexedXf(u32 val, int array); void ProcessLoadIndexedXf(u32 val, int array);
void WriteVertexArray(int arrayIndex, const u8* vertexData, int vertexSize, int numVertices); void WriteVertexArray(int arrayIndex, const u8* vertexData, int vertexSize, int numVertices);
}; } // namespace FifoRecordAnalyzer

View File

@ -5,10 +5,12 @@
#include <algorithm> #include <algorithm>
#include <mutex> #include <mutex>
#include "Core/FifoPlayer/FifoRecorder.h"
#include "Common/Thread.h" #include "Common/Thread.h"
#include "Core/ConfigManager.h" #include "Core/ConfigManager.h"
#include "Core/Core.h" #include "Core/FifoPlayer/FifoAnalyzer.h"
#include "Core/FifoPlayer/FifoRecorder.h" #include "Core/FifoPlayer/FifoRecordAnalyzer.h"
#include "Core/HW/Memmap.h" #include "Core/HW/Memmap.h"
static FifoRecorder instance; static FifoRecorder instance;

View File

@ -7,7 +7,6 @@
#include <vector> #include <vector>
#include "Core/FifoPlayer/FifoDataFile.h" #include "Core/FifoPlayer/FifoDataFile.h"
#include "Core/FifoPlayer/FifoRecordAnalyzer.h"
class FifoRecorder class FifoRecorder
{ {