Fixed broken SVGA option.

This commit is contained in:
Ben Garrett 2021-06-17 17:51:33 +10:00
parent 6c854099a5
commit 14e46e01a7
2 changed files with 5 additions and 2 deletions

View File

@ -7,6 +7,7 @@
- New meta initialisation options, `dosee:speed`, `dosee:graphic` and `dosee:audio`.
- Renamed Hardware tab headers to improve their clarity.
- Replaced two of the sample demos to better show off the variety of emulated hardware.
- Fixed broken SVGA Graphic option, `dosmachine=svga`.
### v1.60

View File

@ -271,8 +271,10 @@ window.Module = null;
if (loadConfig === ``)
throw Error(`graphicMode loadConfig argument cannot be empty`);
const alerts = () => {
document.getElementById(`svgaEffectsMsg`).classList.add(`hidden`);
document.getElementById(`highResRequired`).classList.remove(`hidden`);
const s = document.getElementById(`svgaEffectsMsg`);
if (s !== null) s.classList.add(`hidden`);
const h = document.getElementById(`highResRequired`);
if (h !== null) h.classList.remove(`hidden`);
};
// emulation graphics or machine type
const machine =