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 |
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]; |
228 |
|
if ( display_type != DISPLAY_SCREEN ) |
229 |
|
[redraw resume]; |
230 |
|
} |
231 |
+ |
#endif |
232 |
|
} |
233 |
|
|
234 |
|
- (IBAction) Resume: (id)sender |