mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Restart now works if the emulator is paused
(i.e. it unpauses it first)
This commit is contained in:
parent
35fcf4d98c
commit
14a5fd6aaf
@ -190,8 +190,17 @@
|
||||
|
||||
- (IBAction) Restart: (id)sender
|
||||
{
|
||||
if ( ! running )
|
||||
{
|
||||
running = YES; // Start emulator
|
||||
[self runUpdate];
|
||||
[self Resume: nil];
|
||||
}
|
||||
|
||||
if ( running )
|
||||
// reset680x0();
|
||||
#ifdef UAE_CPU_HAS_RESET
|
||||
reset680x0();
|
||||
#else
|
||||
{
|
||||
uaeCreated = NO;
|
||||
[redraw suspend];
|
||||
@ -219,6 +228,7 @@
|
||||
if ( display_type != DISPLAY_SCREEN )
|
||||
[redraw resume];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
- (IBAction) Resume: (id)sender
|
||||
|
Loading…
x
Reference in New Issue
Block a user