clear screen immediately when switching emulators

This commit is contained in:
Jesús A. Álvarez 2020-09-25 22:17:04 +02:00
parent bf2cde331d
commit 79fb9b2c25
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ static ScreenView *sharedScreenView = nil;
}
- (void)updateVideoLayer {
videoLayer.contents = nil;
if ([AppDelegate sharedEmulator]) {
[AppDelegate sharedEmulator].screenLayer = videoLayer;
screenSize = [AppDelegate sharedEmulator].screenSize;