blob: d404a6f97a181b1176a35914cfdf4e92f6cc10ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-aa,v 1.1 2003/06/14 06:49:05 tron Exp $
--- main_unix.cpp.orig Thu Jun 12 22:53:57 2003
+++ main_unix.cpp
@@ -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) {
|