mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-06-25 22:29:29 +00:00
clear screen immediately when switching emulators
This commit is contained in:
parent
bf2cde331d
commit
79fb9b2c25
|
@ -45,6 +45,7 @@ static ScreenView *sharedScreenView = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)updateVideoLayer {
|
- (void)updateVideoLayer {
|
||||||
|
videoLayer.contents = nil;
|
||||||
if ([AppDelegate sharedEmulator]) {
|
if ([AppDelegate sharedEmulator]) {
|
||||||
[AppDelegate sharedEmulator].screenLayer = videoLayer;
|
[AppDelegate sharedEmulator].screenLayer = videoLayer;
|
||||||
screenSize = [AppDelegate sharedEmulator].screenSize;
|
screenSize = [AppDelegate sharedEmulator].screenSize;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user