mirror of
https://github.com/hch12907/orbum.git
synced 2024-05-20 05:00:48 -04:00
29 lines
530 B
C++
29 lines
530 B
C++
#pragma once
|
|
|
|
#include "Resources/Ee/Vpu/Vif/RVif.hpp"
|
|
#include "Resources/Ee/Vpu/VpuRegisters.hpp"
|
|
#include "Resources/Ee/Vpu/Vu/RVu.hpp"
|
|
|
|
/// RVpu declares the collective VPU structure.
|
|
class RVpu
|
|
{
|
|
public:
|
|
/// Shared registers.
|
|
VpuRegister_Stat stat;
|
|
|
|
/// VIF structure.
|
|
RVif vif;
|
|
|
|
/// VU structure.
|
|
RVu vu;
|
|
|
|
template<class Archive>
|
|
void serialize(Archive & archive)
|
|
{
|
|
archive(
|
|
CEREAL_NVP(stat),
|
|
CEREAL_NVP(vif),
|
|
CEREAL_NVP(vu)
|
|
);
|
|
}
|
|
}; |