summaryrefslogtreecommitdiffstats
path: root/ue3/mycpu/cmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'ue3/mycpu/cmem.h')
-rw-r--r--ue3/mycpu/cmem.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/ue3/mycpu/cmem.h b/ue3/mycpu/cmem.h
index 06fa876..356c9c0 100644
--- a/ue3/mycpu/cmem.h
+++ b/ue3/mycpu/cmem.h
@@ -60,13 +60,9 @@ class CMem
60 60
61 CDat& getRegister(const std::string reg); 61 CDat& getRegister(const std::string reg);
62 62
63 CDat& getMem(const std::string addr) 63 std::string getMemAt(const std::string addr);
64 { 64
65 getRegister("R255") = 10; 65 void setMemAt(const std::string addr, const CDat& value);
66 return getRegister("R255");
67 }
68 void setMem(const std::string addr, const CDat& value)
69 {}
70 66
71#ifdef DEBUG 67#ifdef DEBUG
72 /** 68 /**
@@ -83,11 +79,12 @@ class CMem
83 79
84 80
85 private: 81 private:
86 /* members */
87 std::string m_memfile;
88 82
89 83 unsigned int getRegNr(const std::string reg);
90 std::vector<CDat> m_registers; 84
85 /* members */
86 std::string m_memfile;
87 std::vector<CDat> m_registers;
91}; 88};
92 89
93#endif 90#endif