1
0
Fork 0

fixed rtc timers to behave like timer instead of a onetime event. fixes several games

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1252
This commit is contained in:
Peter Veenstra 2003-09-19 12:57:27 +00:00
parent 9a220bdfcb
commit 3145bf2165

View file

@ -45,6 +45,7 @@ static struct {
static void cmos_timerevent(void) {
PIC_ActivateIRQ(8);
if(cmos.timer.enabled) PIC_AddEvent(cmos_timerevent,cmos.timer.micro);
if (cmos.ack) {
PIC_AddEvent(cmos_timerevent,cmos.timer.micro);
cmos.regs[0x0c]|=0x0a0;