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.10 by nigel, 2004-05-25T07:37:52Z vs.
Revision 1.12 by gbeauche, 2007-06-13T16:10:05Z

# Line 4 | Line 4
4   *
5   *      $Id$
6   *
7 < *  Basilisk II (C) 1997-2004 Christian Bauer
7 > *  Basilisk II (C) 1997-2005 Christian Bauer
8   *
9   *  This program is free software; you can redistribute it and/or modify
10   *  it under the terms of the GNU General Public License as published by
# 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