mirror of
https://github.com/hch12907/orbum.git
synced 2024-05-09 16:24:05 -04:00
Add in missing cereal includes.
This commit is contained in:
parent
99f502c4cc
commit
150a872f2c
|
@ -3,6 +3,8 @@
|
|||
#include <cstddef>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include <Queues.hpp>
|
||||
|
||||
#include "Common/Types/FifoQueue/FifoQueue.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
#include "Common/Types/Register/PcRegisters.hpp"
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#include <cstdint>
|
||||
#include <limits>
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
/// PS2 Primative Data Types.
|
||||
/// These types should be used throughout the emulator when operating on the PS2 system state.
|
||||
/// The PS2 and SCE manuals use this size terminology:
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Register/ByteRegister.hpp"
|
||||
|
||||
/// Sized Byte register.
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <stdexcept>
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
#include "Common/Types/Register/DwordRegister.hpp"
|
||||
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
#include <stdexcept>
|
||||
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
#include "Common/Types/Register/HwordRegister.hpp"
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <stdexcept>
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
#include "Common/Types/Register/QwordRegister.hpp"
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <stdexcept>
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
#include "Common/Types/Register/WordRegister.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Memory/ArrayHwordMemory.hpp"
|
||||
|
||||
/// Contains information about the CDVD NVRAM state, used to store various data.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Bitfield.hpp"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
|
||||
/// Real time clock of the CDVD.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Resources/Cdvd/CdvdFifoQueues.hpp"
|
||||
#include "Resources/Cdvd/CdvdNvrams.hpp"
|
||||
#include "Resources/Cdvd/CdvdRegisters.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Mips/MipsCoprocessor0.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Mips/MipsCoprocessor0.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Mips/MipsCoprocessor.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Mips/BranchDelaySlot.hpp"
|
||||
#include "Common/Types/Register/PcRegisters.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
#include "Resources/Ee/Core/EeCoreTlbEntry.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
/// Custom Mask type, provides useful cached values when constructed.
|
||||
class Mask
|
||||
{
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Resources/Ee/Core/EeCoreCop0.hpp"
|
||||
#include "Resources/Ee/Core/EeCoreFpu.hpp"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/FifoQueue/DmaFifoQueue.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Bitfield.hpp"
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
#include "Resources/Ee/Dmac/EeDmacChannels.hpp"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/access.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
#include <cereal/types/string.hpp>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Resources/Ee/Intc/EeIntcRegisters.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Common/Types/Register/SizedDwordRegister.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Bus/ByteBus.hpp"
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
#include "Resources/Ee/Timers/EeTimersUnitRegisters.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Resources/Ee/Timers/EeTimersUnits.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Resources/Ee/Vpu/Vif/RVif.hpp"
|
||||
#include "Resources/Ee/Vpu/VpuRegisters.hpp"
|
||||
#include "Resources/Ee/Vpu/Vu/RVu.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Resources/Ee/Vpu/Vif/VifUnits.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/FifoQueue/DmaFifoQueue.hpp"
|
||||
#include "Resources/Ee/Vpu/Vif/VifUnitRegisters.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Resources/Ee/Vpu/Vu/VuRegisters.hpp"
|
||||
#include "Resources/Ee/Vpu/Vu/VuUnits.hpp"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Bus/ByteBus.hpp"
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Common/Types/Register/SizedDwordRegister.hpp"
|
||||
#include "Resources/Gs/Crtc/RCrtc.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Mips/MipsCoprocessor0.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Mips/MipsCoprocessor0.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Mips/BranchDelaySlot.hpp"
|
||||
#include "Common/Types/Register/PcRegisters.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Resources/Iop/Core/IopCoreCop0.hpp"
|
||||
#include "Resources/Iop/Core/IopCoreR3000.hpp"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/FifoQueue/DmaFifoQueue.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
#include "Resources/Iop/Dmac/IopDmacChannelRegisters.hpp"
|
||||
|
@ -65,4 +68,14 @@ public:
|
|||
}
|
||||
|
||||
SizedWordRegister tadr;
|
||||
|
||||
public:
|
||||
template<class Archive>
|
||||
void serialize(Archive & archive)
|
||||
{
|
||||
archive(
|
||||
cereal::base_class<IopDmacChannel_Base<IopDmacChannelRegister_Chcr_Ty>>(this),
|
||||
CEREAL_NVP(tadr)
|
||||
);
|
||||
}
|
||||
};
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Primitive.hpp"
|
||||
|
||||
/// An IOP DMAtag type, as explained by wisi and SP193's IOP DMA docs.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
#include "Resources/Iop/Dmac/IopDmacChannelRegisters.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Resources/Iop/Intc/IopIntcRegisters.hpp"
|
||||
|
||||
/// IOP INTC resources.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Bus/ByteBus.hpp"
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Register/SizedHwordRegister.hpp"
|
||||
#include "Resources/Iop/Sio0/Sio0Registers.hpp"
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Bitfield.hpp"
|
||||
#include "Common/Types/FifoQueue/DmaFifoQueue.hpp"
|
||||
#include "Common/Types/Register/ByteRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/FifoQueue/DmaFifoQueue.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Bitfield.hpp"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Resources/Iop/Sio2/Sio2PortRegisters.hpp"
|
||||
|
||||
/// Describes an abstract SIO2 port.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/FifoQueue/DmaFifoQueue.hpp"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <utility>
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
#include "Resources/Iop/Timers/IopTimersUnitRegisters.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Resources/Iop/Timers/IopTimersUnits.hpp"
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/FifoQueue/DmaFifoQueue.hpp"
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Common/Types/Register/SizedWordRegister.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/Memory/ArrayByteMemory.hpp"
|
||||
#include "Common/Types/Memory/ArrayHwordMemory.hpp"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <cstddef>
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/types/polymorphic.hpp>
|
||||
|
||||
#include "Common/Types/Bitfield.hpp"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Types/Register/SizedHwordRegister.hpp"
|
||||
#include "Resources/Spu2/Spu2CoreVoiceRegisters.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
#include "Common/Constants.hpp"
|
||||
#include "Common/Types/FifoQueue/DmaFifoQueue.hpp"
|
||||
#include "Resources/Spu2/Spu2CoreConstants.hpp"
|
||||
|
|
|
@ -4,10 +4,11 @@
|
|||
#include <mutex>
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
#include <condition_variable>
|
||||
|
||||
#include <boost/lockfree/spsc_queue.hpp>
|
||||
|
||||
#include <condition_variable>
|
||||
#include <cereal/cereal.hpp>
|
||||
|
||||
// TODO: the Mpsc/Spmc/Spsc classes are just Mpmc aliases...
|
||||
// In order to support the "events" a mutex is needed
|
||||
|
|
Loading…
Reference in a new issue