diff options
Diffstat (limited to 'emulator/main.c')
-rw-r--r-- | emulator/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/emulator/main.c b/emulator/main.c index 4bf99a3..5cfbd53 100644 --- a/emulator/main.c +++ b/emulator/main.c @@ -24,8 +24,7 @@ int main(int argc, char* argv[]) }
struct Hart hart = {0};
- hart.mem = mem;
- hart.mem_size = mem_size;
+ hart_init(&hart, 0, mem, mem_size);
execute_from(&hart, start_address);
|