aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/programmemory.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/programmemory.h')
-rw-r--r--qtmips_machine/programmemory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_machine/programmemory.h b/qtmips_machine/programmemory.h
index 84b2f31..158adb1 100644
--- a/qtmips_machine/programmemory.h
+++ b/qtmips_machine/programmemory.h
@@ -8,8 +8,9 @@
class ProgramMemory {
public:
- ProgramMemory(ProgramLoader *loader, MemoryAccess *memory);
+ ProgramMemory(MemoryAccess *memory);
+ void load(ProgramLoader *l);
Instruction *at(std::uint32_t address); // return instruction isntance for given address
private: