Commit 684c5804 authored by Ilya Prokhorov's avatar Ilya Prokhorov

Emscripten build fixes

parent 5f672e0c
...@@ -43,7 +43,7 @@ void Music::play() { ...@@ -43,7 +43,7 @@ void Music::play() {
EM_ASM_({ EM_ASM_({
var audioPath = Pointer_stringify($0); var audioPath = UTF8ToString($0);
audioPath += ".mp3"; audioPath += ".mp3";
var audio = new Audio(audioPath); var audio = new Audio(audioPath);
......
...@@ -65,7 +65,7 @@ void Sound::play() { ...@@ -65,7 +65,7 @@ void Sound::play() {
EM_ASM_({ EM_ASM_({
var audioPath = Pointer_stringify($0); var audioPath = UTF8ToString($0);
audioPath += ".mp3"; audioPath += ".mp3";
var audio = new Audio(audioPath); var audio = new Audio(audioPath);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment