diff options
Diffstat (limited to 'sim/erc32/interf.c')
-rw-r--r-- | sim/erc32/interf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 63b3f38..ca1a29a 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -78,6 +78,8 @@ run_sim(sregs, icount, dis) init_stdio(); sregs->starttime = time(NULL); irq = 0; + if ((sregs->pc != 0) && (ebase.simtime == 0)) + boot_init(); while (!sregs->err_mode & (icount > 0)) { sregs->fhold = 0; |