mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
27 lines
712 B
C++
27 lines
712 B
C++
// Copyright 2011 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "Core/FifoPlayer/FifoAnalyzer.h"
|
|
#include "Core/FifoPlayer/FifoDataFile.h"
|
|
|
|
struct AnalyzedFrameInfo
|
|
{
|
|
// Start of the primitives for the object (after previous update commands)
|
|
std::vector<u32> objectStarts;
|
|
std::vector<FifoAnalyzer::CPMemory> objectCPStates;
|
|
// End of the primitives for the object
|
|
std::vector<u32> objectEnds;
|
|
std::vector<MemoryUpdate> memoryUpdates;
|
|
};
|
|
|
|
namespace FifoPlaybackAnalyzer
|
|
{
|
|
void AnalyzeFrames(FifoDataFile* file, std::vector<AnalyzedFrameInfo>& frameInfo);
|
|
} // namespace FifoPlaybackAnalyzer
|