summaryrefslogtreecommitdiff
path: root/inc/storage.h
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-04-27 17:54:41 -0400
committerGitHub <noreply@github.com>2025-04-27 17:54:41 -0400
commitecb0d131e786b1fec5233c7674ba6710ce201c83 (patch)
tree78bfefa262912b0f26a27a1b741c082a2a6e8176 /inc/storage.h
parent6f99f95d9968ea5c83bf5a467bd4bc64750075a3 (diff)
parentde6ccea3c6d23b788acecb0744221a4f6078597a (diff)
Merge pull request #8 from bdunahu/bdunahu
Replace view function with get_data
Diffstat (limited to 'inc/storage.h')
-rw-r--r--inc/storage.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/inc/storage.h b/inc/storage.h
index d7e49c8..f15dc0b 100644
--- a/inc/storage.h
+++ b/inc/storage.h
@@ -65,13 +65,9 @@ class Storage
virtual int read_word(void *id, int address, signed int &data) = 0;
/**
- * Sidedoor view of `lines` of memory starting at `base`.
- * @param The base line to start getting memory from.
- * @param The amount of lines to fetch.
- * @return A matrix of data values, where each row is a line and each column
- * is a word.
+ * @return a copy of `this->data'
*/
- std::vector<std::array<signed int, LINE_SIZE>> view(int base, int lines) const;
+ std::vector<std::array<signed int, LINE_SIZE>> get_data() const;
protected:
/**