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.6 by nigel, 2003-03-26T23:04:46Z vs.
Revision 1.8 by cebix, 2004-01-12T15:29:24Z

# Line 4 | Line 4
4   *
5   *      $Id$
6   *
7 < *  Basilisk II (C) 1997-2002 Christian Bauer
7 > *  Basilisk II (C) 1997-2004 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 190 | Line 190
190  
191   - (IBAction) Restart: (id)sender
192   {
193 +        if ( ! running )
194 +        {
195 +                running = YES;                                          // Start emulator
196 +                [self runUpdate];
197 +                [self Resume: nil];
198 +        }
199 +
200          if ( running )
201 < //              reset680x0();
201 > #ifdef UAE_CPU_HAS_RESET
202 >                reset680x0();
203 > #else
204          {
205                  uaeCreated = NO;
206                  [redraw suspend];
# Line 219 | Line 228
228                  if ( display_type != DISPLAY_SCREEN )
229                          [redraw resume];
230          }
231 + #endif
232   }
233  
234   - (IBAction) Resume: (id)sender

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines