aboutsummaryrefslogtreecommitdiff
path: root/src/simulator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulator.rs')
-rw-r--r--src/simulator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulator.rs b/src/simulator.rs
index 2e7ddbd..55b2b41 100644
--- a/src/simulator.rs
+++ b/src/simulator.rs
@@ -75,7 +75,7 @@ impl RegisterFile {
impl Simulator {
pub fn new(num_cores: usize, binary: Binary) -> Simulator {
- let memory = Memory::new(0x2000, binary);
+ let memory = Memory::new_from_binary(0x2000, binary);
// TODO: initialize GP, registers (GP is in headers)
Simulator {
num_cores: num_cores,