// // State.hpp // Clock Signal // // Created by Thomas Harte on 25/04/2021. // Copyright © 2021 Thomas Harte. All rights reserved. // #ifndef State_hpp #define State_hpp #include "../../../Reflection/Struct.hpp" #include "../../../Processors/Z80/State/State.hpp" #include "Video.hpp" namespace Sinclair { namespace ZXSpectrum { struct State: public Reflection::StructImpl { CPU::Z80::State z80; Video::State video; std::vector ram; State() { if(needs_declare()) { DeclareField(z80); DeclareField(video); DeclareField(ram); } } }; } } #endif /* State_h */