Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Change default video mode indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Mar 18, 2016
1 parent 0efc8e4 commit c165def
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/pcjs/examples/components.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,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">
Expand Down
2 changes: 1 addition & 1 deletion modules/pcjs/lib/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/pcjs/templates/components.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion versions/pcjs/1.21.2/components.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,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">
Expand Down

0 comments on commit c165def

Please sign in to comment.