mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-01-11 08:30:02 +00:00
pce: aspect ratio
This commit is contained in:
parent
fc432a3bbf
commit
dd96813b76
@ -17,7 +17,7 @@ class PCEnginePlatform implements Platform {
|
|||||||
}
|
}
|
||||||
start(): void | Promise<void> {
|
start(): void | Promise<void> {
|
||||||
this.pce = new PCE();
|
this.pce = new PCE();
|
||||||
this.video = new RasterVideo(this.mainElement, 684, 262, { overscan: true });
|
this.video = new RasterVideo(this.mainElement, 684, 262, { overscan: true, aspect: 4 / 3 });
|
||||||
this.video.create();
|
this.video.create();
|
||||||
this.pce.SetCanvas(this.video.canvas);
|
this.pce.SetCanvas(this.video.canvas);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user