From 5ad08f6611c8c777c43cfa0d2380b6ad6554a54d Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Wed, 7 Nov 2018 09:26:42 -0800 Subject: Not sure what other feature work is valuable -- I'd rather work on exporting. --- Source/Memory.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Memory.h') diff --git a/Source/Memory.h b/Source/Memory.h index 4c79d7c..e7f8ff3 100644 --- a/Source/Memory.h +++ b/Source/Memory.h @@ -19,6 +19,7 @@ public: Memory(const Memory& memory) = delete; Memory& operator=(const Memory& other) = delete; + int GetCurrentFrame(); template std::vector ReadArray(int panel, int offset, int size) { @@ -40,6 +41,9 @@ public: WriteData({GLOBALS, 0x18, panel*8, offset}, data); } + void ClearOffsets() {_computedAddresses = std::map();} + +private: template std::vector ReadData(const std::vector& offsets, size_t numItems) { std::vector data; @@ -64,10 +68,6 @@ public: ThrowError(); } - void ClearOffsets() {_computedAddresses = std::map();} - -private: - void ThrowError(); void* ComputeOffset(std::vector offsets); -- cgit 1.4.1