torch2424 / wasmboy

Game Boy / Game Boy Color Emulator Library, 🎮written for WebAssembly using AssemblyScript. 🚀Demos built with Preact and Svelte. ⚛️
https://wasmboy.app/
GNU General Public License v3.0
1.39k stars 65 forks source link

Larger canvas sizes with same aspect ratio #338

Closed redbrain closed 3 years ago

redbrain commented 3 years ago

I'd like to use wasmboy with a sized (for example) 480x432. This is still the aspect ratio of a GameBoy, but the is automatically scaled down to 160x144 upon calling config(). Is it possible to run wasmboy at this larger canvas size?

redbrain commented 3 years ago

Realised that the canvas could simply be scaled with CSS. My bad.

torch2424 commented 3 years ago

No worries at all! :smile: :tada: