Skip to content

Commit

Permalink
reboot -> move the jump to track 0 into the hal.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdelnero committed Jan 2, 2019
1 parent c215c6d commit ff8e912
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions amiga/amiga.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,8 @@ int init_fdc(int drive)
dbg_printf("init_fdc\n");
#endif

memset(&old_state_unit,0,sizeof(old_state_unit));

for(i=0;i<4;i++)
{
setnoclick(i,0); // Save state
Expand Down Expand Up @@ -1736,6 +1738,7 @@ void reboot()
}
else
{
jumptotrack(0);
_reboot();
}
lockup();
Expand Down
1 change: 1 addition & 0 deletions atari_st/atari_st.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,7 @@ void su_reboot()

void reboot()
{
jumptotrack(0);
Supexec(su_reboot);
}

Expand Down
1 change: 0 additions & 1 deletion fectrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ void ui_reboot(ui_context * ctx)
{
hxc_printf_box(ctx,(char*)reboot_msg);
waitsec(1);
jumptotrack(0);
reboot();
}

Expand Down

0 comments on commit ff8e912

Please sign in to comment.