fix for no-threads case for an emulated 68k [Todd Vierling]

This commit is contained in:
cebix 2003-07-25 13:41:58 +00:00
parent 16b21014ef
commit 2257e7be3f

View File

@ -615,7 +615,9 @@ int main(int argc, char **argv)
// Start 60Hz timer
sigemptyset(&timer_sa.sa_mask); // Block virtual 68k interrupts during SIGARLM handling
#if !EMULATED_68K
sigaddset(&timer_sa.sa_mask, SIG_IRQ);
#endif
timer_sa.sa_handler = one_tick;
timer_sa.sa_flags = SA_ONSTACK | SA_RESTART;
if (sigaction(SIGALRM, &timer_sa, NULL) < 0) {