andychase / gbajs2

gbajs2 is a Game Boy Advance emulator written in Javascript from scratch using HTML5 technologies like Canvas and Web Audio. It is freely licensed and works in any modern browser without plugins.
https://andychase.me/gbajs2
BSD 2-Clause "Simplified" License
212 stars 76 forks source link

GBA image is double-scaled #1

Closed Fordi closed 4 years ago

Fordi commented 4 years ago

That is, when I change the size of the canvas, the scale of the rendered image is not scaled proportionately. If I scale it to 0.5, only 1/4 of the half-size canvas is covered (the rest being a ghost of the last full-size frame). This gets in the way of adding a fullscreen button (since the image renders way off the screen).