Skip to content

Commit 0320e9d

Browse files
committed
Merge pull request emscripten-core#197 from ehsan/sdl_initsubsystem
Stub implementation for SDL_InitSubSystem
2 parents b198650 + 554c4f5 commit 0320e9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/library_sdl.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,8 @@ mergeInto(LibraryManager.library, {
561561

562562
Mix_OpenAudio: function() { return -1 },
563563

564+
SDL_InitSubSystem: function(flags) { return 0 },
565+
564566
SDL_AddTimer: function(interval, callback, param) {
565567
return window.setTimeout(function() {
566568
FUNCTION_TABLE[callback](interval, param);

0 commit comments

Comments
 (0)