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:
parent
9a220bdfcb
commit
3145bf2165
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue