mirror of
https://github.com/hch12907/orbum.git
synced 2024-06-02 19:38:16 -04:00
28 lines
556 B
C++
28 lines
556 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));
|
|
}
|
|
};
|