Updated aspect ratio for CGA configs and added experimental 'aspect' URL parameter

This commit is contained in:
Jeff Parsons 2016-04-01 21:34:47 -07:00
commit d50f0ebb1a
44 changed files with 6634 additions and 318 deletions

View file

@ -394,7 +394,7 @@ Computer.prototype.getMachineParm = function(sParm, parmsComponent)
* but there are limits to my paranoia.
*/
var sParmLC = sParm.toLowerCase();
var value = Component.parmsURL && (Component.parmsURL[sParm] || Component.parmsURL[sParmLC]);
var value = Component.parmsURL[sParm] || Component.parmsURL[sParmLC];
if (value === undefined && this.parmsMachine) {
value = this.parmsMachine[sParm];