mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-08-05 22:25:32 +00:00
fix for no-threads case for an emulated 68k [Todd Vierling]
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user