Skip to content

Commit

Permalink
allow specifying 'autoload' in startup options to auto-load a tape
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Jul 15, 2012
1 parent 42b6bf5 commit 9cc2a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/jsspeccy.js
Expand Up @@ -244,7 +244,7 @@ function JSSpeccy(container, opts) {
self.setModel(JSSpeccy.Spectrum.MODEL_128K);

if (opts.loadFile) {
self.loadFromUrl(opts.loadFile);
self.loadFromUrl(opts.loadFile, {'autoload': opts.autoload});
}

if (!('autostart' in opts) || opts['autostart']) {
Expand Down

0 comments on commit 9cc2a4f

Please sign in to comment.