Fix wasm locateFile
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
a92384535f
commit
c99d0d00d6
3 changed files with 3 additions and 3 deletions
2
carla
2
carla
|
@ -1 +1 @@
|
|||
Subproject commit 3b92085050c3dc00ac304e100ad648d55c067e65
|
||||
Subproject commit fdccb45be790393923f75b7a309891254110400a
|
|
@ -140,7 +140,7 @@
|
|||
window.dispatchEvent(new Event('resize'));
|
||||
},
|
||||
locateFile: function(p,_) {
|
||||
return p.replace("CardinalMini"+".", simdSupported ? "CardinalMini." : "CardinalMini-nosimd.");
|
||||
return simdSupported ? p : p.replace("CardinalMini", "CardinalMini-nosimd");
|
||||
},
|
||||
canvas: (function() {
|
||||
var canvas = document.getElementById('canvas');
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
window.dispatchEvent(new Event('resize'));
|
||||
},
|
||||
locateFile: function(p,_) {
|
||||
return p.replace("CardinalNative"+".", simdSupported ? "CardinalNative." : "CardinalNative-nosimd.");
|
||||
return simdSupported ? p : p.replace("CardinalNative", "CardinalNative-nosimd");
|
||||
},
|
||||
canvas: (function() {
|
||||
var canvas = document.getElementById('canvas');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue