Try fixing the Emscripten build.

This commit is contained in:
David Reid
2026-01-12 19:51:40 +10:00
parent 994ae48feb
commit 1adad94ef8
2 changed files with 12 additions and 4 deletions
+5 -1
View File
@@ -112,7 +112,11 @@ int main(int argc, char** argv)
}
}
ma_sleep(20000);
#ifndef __EMSCRIPTEN__
{
ma_sleep(20000);
}
#endif
for (size_t i = 0; i < sounds.size(); i += 1) {
ma_sound_uninit(sounds[i]);