Change default video mode indicator

This commit is contained in:
Jeff Parsons 2016-03-18 16:04:17 -07:00
commit 07e48c3026
4 changed files with 4 additions and 4 deletions

View file

@ -51,7 +51,7 @@ if (NODE) {
* The Video component can be configured with the following (parmsVideo) properties:
*
* model: model (eg, "mda" for Monochrome Display Adapter)
* mode: mode number (hardware-specific, 7 is the default)
* mode: initial video mode (default is null, which selects a mode based on model)
* memory: amount of installed memory (ignored for MDA/CGA)
* screenWidth: width of the screen canvas, in pixels
* screenHeight: height of the screen canvas, in pixels

View file

@ -943,7 +943,7 @@
<xsl:variable name="mode">
<xsl:choose>
<xsl:when test="@mode"><xsl:value-of select="@mode"/></xsl:when>
<xsl:otherwise>7</xsl:otherwise>
<xsl:otherwise>null</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="screenWidth">