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.7 by nigel, 2003-08-16T11:14:50Z

# 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