blob: d7f3e0f81e9a7bd7c3bf2a7523e27367928a2e46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
$NetBSD: patch-aj,v 1.1 1998/08/23 11:24:54 garbled Exp $
*** main.c~ Sun Feb 12 17:34:09 1995
--- main.c Sun Feb 12 17:34:29 1995
***************
*** 90,96 ****
begin_timer();
while(paused) {
while(XPending(display) && !event_filter());
! usleep(USECDELAY);
}
while(XPending(display) && !event_filter());
update();
--- 90,96 ----
begin_timer();
while(paused) {
while(XPending(display) && !event_filter());
! usleep(usecdelay);
}
while(XPending(display) && !event_filter());
update();
***************
*** 111,117 ****
busy, and you shouldn't be playing anyway.
*/
timer = get_timer();
! if(timer < USECDELAY) usleep(USECDELAY - timer);
}
}
}
--- 111,117 ----
busy, and you shouldn't be playing anyway.
*/
timer = get_timer();
! if(timer < usecdelay) usleep(usecdelay - timer);
}
}
}
|