mirror of
https://github.com/hch12907/orbum.git
synced 2024-05-20 05:00:48 -04:00
29 lines
565 B
C++
29 lines
565 B
C++
#pragma once
|
|
|
|
#include <cereal/cereal.hpp>
|
|
|
|
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
|
#include "Resources/Ee/Intc/EeIntcRegisters.hpp"
|
|
|
|
class REeIntc
|
|
{
|
|
public:
|
|
REeIntc();
|
|
|
|
/// EE INTC memory mapped registers. See page 24 of EE Users Manual.
|
|
EeIntcRegister_Mask mask;
|
|
EeIntcRegister_Stat stat;
|
|
ArrayByteMemory memory_f020;
|
|
|
|
public:
|
|
template<class Archive>
|
|
void serialize(Archive & archive)
|
|
{
|
|
archive(
|
|
CEREAL_NVP(mask),
|
|
CEREAL_NVP(stat),
|
|
CEREAL_NVP(memory_f020)
|
|
);
|
|
}
|
|
};
|