main: minor bugfix
This commit is contained in:
parent
f7a178b5e7
commit
72b55b7c5d
|
@ -109,7 +109,7 @@ AFRAME.registerComponent('isoterminal', {
|
||||||
|
|
||||||
let image = {}
|
let image = {}
|
||||||
if( this.data.iso.match(/\.iso$/) ) image.cdrom = { url: this.data.iso }
|
if( this.data.iso.match(/\.iso$/) ) image.cdrom = { url: this.data.iso }
|
||||||
if( this.data.iso.match(/\.bin$/) ) image.bzImage.url = this.data.iso
|
if( this.data.iso.match(/\.bin$/) ) image.bzImage = { url: this.data.iso }
|
||||||
|
|
||||||
var emulator = window.emulator = dom.emulator = new V86({ ...image,
|
var emulator = window.emulator = dom.emulator = new V86({ ...image,
|
||||||
wasm_path: "com/isoterminal/v86.wasm",
|
wasm_path: "com/isoterminal/v86.wasm",
|
||||||
|
|
Loading…
Reference in New Issue