mirror of
https://github.com/hch12907/orbum.git
synced 2024-06-02 19:38:16 -04:00
26 lines
508 B
C++
26 lines
508 B
C++
#pragma once
|
|
|
|
#include <cereal/cereal.hpp>
|
|
|
|
#include "Common/Constants.hpp"
|
|
#include "Resources/Ee/Vpu/Vif/VifUnits.hpp"
|
|
|
|
/// RVif declares the collective VIF structure.
|
|
class RVif
|
|
{
|
|
public:
|
|
RVif();
|
|
|
|
/// VIF structure.
|
|
VifUnit_Base unit_0;
|
|
VifUnit_Base unit_1;
|
|
VifUnit_Base* units[Constants::EE::VPU::VIF::NUMBER_VIF_CORES];
|
|
|
|
template <class Archive>
|
|
void serialize(Archive& archive)
|
|
{
|
|
archive(
|
|
CEREAL_NVP(unit_0),
|
|
CEREAL_NVP(unit_1));
|
|
}
|
|
}; |