2 |
|
* Display_SDL.h - C64 graphics display, emulator window handling, |
3 |
|
* SDL specific stuff |
4 |
|
* |
5 |
< |
* Frodo (C) 1994-1997,2002 Christian Bauer |
5 |
> |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
6 |
|
* |
7 |
|
* This program is free software; you can redistribute it and/or modify |
8 |
|
* it under the terms of the GNU General Public License as published by |
102 |
|
// Start timer for LED error blinking |
103 |
|
c64_disp = this; |
104 |
|
pulse_sa.sa_handler = (void (*)(int))pulse_handler; |
105 |
< |
pulse_sa.sa_flags = 0; |
105 |
> |
pulse_sa.sa_flags = SA_RESTART; |
106 |
|
sigemptyset(&pulse_sa.sa_mask); |
107 |
|
sigaction(SIGALRM, &pulse_sa, NULL); |
108 |
|
pulse_tv.it_interval.tv_sec = 0; |