Initialize screenRect with the most common resolution.

Fixes an issue where the core display would be scaled to the wrong size on launch in a separate window.
This commit is contained in:
Daniele Cattaneo
2020-01-03 18:31:46 +01:00
parent 5508f195b6
commit d36dcacb60
+1
View File
@@ -54,6 +54,7 @@
program = new Program(self);
_activeCheats = [[NSMutableSet alloc] init];
_displayModes = [[NSMutableDictionary alloc] init];
screenRect = OEIntRectMake(0, 0, 256, 224);
return self;
}