diff options
author | bd <bdunahu@operationnull.com> | 2025-04-16 11:23:46 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-16 11:23:46 -0400 |
commit | 71f69927931e007d0bac13b9268b6a697b45c70a (patch) | |
tree | 41ab4e108784f6c180ad23fcc3bd3bf9440a9a2b /src/dram.cc | |
parent | a7620015acc2401165b4587cbb6c9a118d944493 (diff) |
Update GET_FIELDS to account for number of ways, constructors
Diffstat (limited to 'src/dram.cc')
-rw-r--r-- | src/dram.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dram.cc b/src/dram.cc index bbd18b7..53db16b 100644 --- a/src/dram.cc +++ b/src/dram.cc @@ -54,10 +54,7 @@ Dram::load(std::vector<signed int> program) int Dram::process(void *id, int address, std::function<void(int line, int word)> request_handler) { - if (!preprocess(id)) - return 0; - - if (!this->is_data_ready()) + if (!preprocess(id) || !this->is_data_ready()) return 0; int line, word; |