Extended write hooks and debugged sound
This commit is contained in:
+2
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
function main() {
|
||||
var devCfg = {
|
||||
audio: window.audioContext || window.webkitAudioContext,
|
||||
audio: null,
|
||||
canvas: document.getElementById('C') //JS-specific implementation canvas DOM reference
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ function main() {
|
||||
rdr.onload = function() {
|
||||
var vm = UxnCore()
|
||||
var ext = ESOPExtensions()
|
||||
devCfg.audio = new (window.AudioContext || window.webkitAudioContext)
|
||||
vm.boot()
|
||||
ext.setup(vm, devCfg)
|
||||
vm.load(new Uint8Array(rdr.result))
|
||||
|
||||
Reference in New Issue
Block a user