#pragma once #include "MemoryHandler.h" #include #include #include #include class CN64System; class ISViewerHandler : public MemoryHandler { public: ISViewerHandler(CN64System & System); bool Read32(uint32_t Address, uint32_t & Value); bool Write32(uint32_t Address, uint32_t Value, uint32_t Mask); private: ISViewerHandler(); ISViewerHandler(const ISViewerHandler &); ISViewerHandler & operator=(const ISViewerHandler &); static void stSystemReset(ISViewerHandler * _this) { _this->SystemReset(); } static uint32_t Swap32by8(uint32_t Value); void SystemReset(void); std::unique_ptr m_hLogFile; std::vector m_Data; char m_Buffer[0x1000]; uint32_t m_BufferPos; };