--- Frodo4/Src/Display_x.h 2003/07/01 17:32:13 1.1 +++ Frodo4/Src/Display_x.h 2004/01/12 15:13:20 1.5 @@ -2,7 +2,7 @@ * Display_x.h - C64 graphics display, emulator window handling, * X specific stuff * - * Frodo (C) 1994-1997,2002 Christian Bauer + * Frodo (C) 1994-1997,2002-2004 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -342,7 +342,7 @@ C64Display::C64Display(C64 *the_c64) : T // Start timer for LED error blinking c64_disp = this; pulse_sa.sa_handler = (void (*)(int))pulse_handler; - pulse_sa.sa_flags = 0; + pulse_sa.sa_flags = SA_RESTART; sigemptyset(&pulse_sa.sa_mask); sigaction(SIGALRM, &pulse_sa, NULL); pulse_tv.it_interval.tv_sec = 0; @@ -774,6 +774,26 @@ bool C64Display::NumLock(void) } +/* + * Open/close joystick drivers given old and new state of + * joystick preferences + */ + +void C64::open_close_joysticks(int oldjoy1, int oldjoy2, int newjoy1, int newjoy2) +{ +} + + +/* + * Poll joystick port, return CIA mask + */ + +uint8 C64::poll_joystick(int port) +{ + return 0xff; +} + + /* * Allocate C64 colors */