aboutsummaryrefslogtreecommitdiffstats
path: root/fragments
diff options
context:
space:
mode:
authorDavid Thomas <m8pple@github.com>2016-10-10 06:27:37 +0100
committerDavid Thomas <m8pple@github.com>2016-10-10 06:27:37 +0100
commit0673cc3651b60203b90eccdc1c5af5e455f4b6fb (patch)
tree6c50f8b4387ebda2c647b8e7bd66d60884d1e557 /fragments
parent969874832d55c00c1c5874ef5ae1fdb82b3ded83 (diff)
downloadMipsCPU-0673cc3651b60203b90eccdc1c5af5e455f4b6fb.tar.gz
MipsCPU-0673cc3651b60203b90eccdc1c5af5e455f4b6fb.zip
Updated for 2016.
Diffstat (limited to 'fragments')
-rw-r--r--fragments/run_addu.cpp2
-rw-r--r--fragments/run_fibonacci.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/fragments/run_addu.cpp b/fragments/run_addu.cpp
index effa24e..460548f 100644
--- a/fragments/run_addu.cpp
+++ b/fragments/run_addu.cpp
@@ -10,7 +10,7 @@ int main(int argc, char *argv[])
srcName=argv[1];
}
- mips_mem_h m=mips_mem_create_ram(0x20000, 4);
+ mips_mem_h m=mips_mem_create_ram(0x20000);
mips_cpu_h c=mips_cpu_create(m);
FILE *src=fopen(srcName,"rb");
diff --git a/fragments/run_fibonacci.cpp b/fragments/run_fibonacci.cpp
index 041d667..6017971 100644
--- a/fragments/run_fibonacci.cpp
+++ b/fragments/run_fibonacci.cpp
@@ -10,7 +10,7 @@ int main(int argc, char *argv[])
srcName=argv[1];
}
- mips_mem_h m=mips_mem_create_ram(0x20000, 4);
+ mips_mem_h m=mips_mem_create_ram(0x20000);
mips_cpu_h c=mips_cpu_create(m);
FILE *src=fopen(srcName,"rb");