mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
a96710f0c5
* wip * more * the rest of the disassembler
23 lines
519 B
C++
23 lines
519 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "decompiler/VuDisasm/VuInstruction.h"
|
|
|
|
namespace decompiler {
|
|
class VuProgram {
|
|
public:
|
|
VuProgram() = default;
|
|
void add_instruction(const VuInstruction& upper, const VuInstruction& lower) {
|
|
VuInstructionPair p;
|
|
p.upper = upper;
|
|
p.lower = lower;
|
|
m_instructions.push_back(p);
|
|
}
|
|
const std::vector<VuInstructionPair>& instructions() const { return m_instructions; }
|
|
|
|
private:
|
|
std::vector<VuInstructionPair> m_instructions;
|
|
};
|
|
} // namespace decompiler
|