Skip to content

Commit

Permalink
fix crash if ROM file missing
Browse files Browse the repository at this point in the history
  • Loading branch information
panicsteve committed Jan 20, 2017
1 parent fe0254e commit 64311ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/iEinstein/Classes/iEinsteinViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,9 @@ - (void)resetEmulator
- (void)stopEmulator
{
mLog->LogLine("Stopping emulator thread");

mEmulator->Stop();

if ( mEmulator )
mEmulator->Stop();
}

/*
Expand All @@ -444,4 +445,4 @@ - (BOOL)prefersStatusBarHidden {
return YES;
}

@end
@end

0 comments on commit 64311ce

Please sign in to comment.