# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |