ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/Emulator.mm
(Generate patch)

Comparing BasiliskII/src/MacOSX/Emulator.mm (file contents):
Revision 1.11 by gbeauche, 2005-01-30T21:42:13Z vs.
Revision 1.12 by gbeauche, 2007-06-13T16:10:05Z

# Line 424 | Line 424 | uint8 lastXPRAM[XPRAM_SIZE];           // Copy of
424  
425   - (void) RTCinterrupt
426   {
427 <        if ( uaeCreated )
428 <                WriteMacInt32 (0x20c, TimerDateTime() );        // Update MacOS time
427 >        if ( ! uaeCreated )
428 >                return;
429 >
430 >        WriteMacInt32 (0x20c, TimerDateTime() );        // Update MacOS time
431 >
432 >        SetInterruptFlag(INTFLAG_1HZ);
433 >        TriggerInterrupt();
434   }
435  
436   - (void) redrawScreen

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines