From de6ccea3c6d23b788acecb0744221a4f6078597a Mon Sep 17 00:00:00 2001 From: bd Date: Sun, 27 Apr 2025 00:11:54 -0400 Subject: Replace view function with get_data --- inc/storage.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'inc/storage.h') 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> view(int base, int lines) const; + std::vector> get_data() const; protected: /** -- cgit v1.2.3