fix aluipc

This commit is contained in:
inixyz
2023-10-15 21:15:42 +03:00
parent a0c07323e8
commit 1ef81063a0
3 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ int main(int argc, char** argv){
}
tinyriscv_hart hart;
hart.mem = malloc(hart.mem_size = mem_size);
hart.mem = calloc(hart.mem_size = mem_size, 1);
//file handling
FILE* file = fopen(file_path, "rb");