aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/programmemory.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-02 15:34:07 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-02 15:34:07 +0200
commit375607d9969896c894fa2642ce4a0b8b519a2adb (patch)
treecb947a843d85f1cd278da15cff432c849986166c /qtmips_machine/programmemory.h
parent82884b3ef726889f837542d2b5e98e2cd8246c00 (diff)
downloadqtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.tar.gz
qtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.tar.bz2
qtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.zip
Use QString and QVector instead of std ones and more
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: