This commit is contained in:
Will Scullin 2021-03-28 16:56:06 -07:00
parent a7aa5ab902
commit e3bbd2d640
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD

View File

@ -694,7 +694,7 @@ export class VideoModesGL implements VideoModes {
} }
private defaultMonitor(): screenEmu.DisplayConfiguration { private defaultMonitor(): screenEmu.DisplayConfiguration {
let config = new screenEmu.DisplayConfiguration(); const config = new screenEmu.DisplayConfiguration();
config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height); config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height);
config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height); config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height);
config.displayScanlineLevel = 0.5; config.displayScanlineLevel = 0.5;
@ -708,7 +708,7 @@ export class VideoModesGL implements VideoModes {
private monitorII(): screenEmu.DisplayConfiguration { private monitorII(): screenEmu.DisplayConfiguration {
// Values taken from openemulator/libemulation/res/library/Monitors/Apple Monitor II.xml // Values taken from openemulator/libemulation/res/library/Monitors/Apple Monitor II.xml
let config = new screenEmu.DisplayConfiguration(); const config = new screenEmu.DisplayConfiguration();
config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height); config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height);
config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height); config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height);
config.videoDecoder = 'CANVAS_MONOCHROME'; config.videoDecoder = 'CANVAS_MONOCHROME';