Raise INTFLAG_1HZ in RTCInterrupt()

This commit is contained in:
gbeauche 2007-06-13 16:10:05 +00:00
parent f20c1ca30b
commit 31a754b2e6

View File

@ -424,8 +424,13 @@ uint8 lastXPRAM[XPRAM_SIZE]; // Copy of PRAM
- (void) RTCinterrupt
{
if ( uaeCreated )
WriteMacInt32 (0x20c, TimerDateTime() ); // Update MacOS time
if ( ! uaeCreated )
return;
WriteMacInt32 (0x20c, TimerDateTime() ); // Update MacOS time
SetInterruptFlag(INTFLAG_1HZ);
TriggerInterrupt();
}
- (void) redrawScreen