Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane-D committed Nov 22, 2024
1 parent ac20ad7 commit d103cfc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,6 @@ static void NO_INLINE internal_reset()
// reseting z80 also reset the ym2612
Z80_init();


// enable interrupts
SYS_setInterruptMaskLevel(3);
}
Expand Down Expand Up @@ -1049,7 +1048,7 @@ void SYS_die(char *err, ...)
VDP_setBackgroundColor(63);
VDP_drawText("A fatal error occured!", 9, 2);
VDP_drawText("cannot continue...", 11, 3);

u8 y = 5;

va_list argptr;
Expand All @@ -1063,6 +1062,6 @@ void SYS_die(char *err, ...)
y++;
}
va_end(argptr);

while(1);
}

0 comments on commit d103cfc

Please sign in to comment.