The Computer component's 'resume' property can now be overridden from the URL, since we now query it with getMachineParm(); a default machine parameter value can now be included on the call, too

This commit is contained in:
Jeff Parsons 2016-12-31 17:18:06 -08:00 committed by Jeff Parsons
commit 2a96d37c14
4 changed files with 63 additions and 76 deletions

View file

@ -301,7 +301,7 @@ class DebuggerPDP11 extends Debugger {
/*
* Re-initialize Debugger message support if necessary
*/
var sMessages = cmp.getMachineParm('messages');
var sMessages = /** @type {string|undefined} */ (cmp.getMachineParm('messages'));
if (sMessages) this.messageInit(sMessages);
if (this.cpu.model < PDP11.MODEL_1140) {