main: minor bugfix
/ mirror_to_github (push) Successful in 26s Details
/ test (push) Successful in 8s Details

This commit is contained in:
Leon van Kammen 2024-08-30 10:42:29 +00:00
parent f7a178b5e7
commit 72b55b7c5d
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@ AFRAME.registerComponent('isoterminal', {
}
let image = {}
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(/\.iso$/) ) image.cdrom = { 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,
wasm_path: "com/isoterminal/v86.wasm",