diff options
Diffstat (limited to 'ue3/mycpu/cmem.h')
| -rw-r--r-- | ue3/mycpu/cmem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ue3/mycpu/cmem.h b/ue3/mycpu/cmem.h index 923ed01..06fa876 100644 --- a/ue3/mycpu/cmem.h +++ b/ue3/mycpu/cmem.h | |||
| @@ -62,7 +62,8 @@ class CMem | |||
| 62 | 62 | ||
| 63 | CDat& getMem(const std::string addr) | 63 | CDat& getMem(const std::string addr) |
| 64 | { | 64 | { |
| 65 | return getRegister("R0"); | 65 | getRegister("R255") = 10; |
| 66 | return getRegister("R255"); | ||
| 66 | } | 67 | } |
| 67 | void setMem(const std::string addr, const CDat& value) | 68 | void setMem(const std::string addr, const CDat& value) |
| 68 | {} | 69 | {} |
