diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-01-30 11:30:16 -0500 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-01-30 11:30:16 -0500 |
commit | 554c4f5125385d013521056b825a6dc173ed4ff5 (patch) | |
tree | 34263ff8d865f78671ea196039fa99ab9413a04b | |
parent | b6ebeed2cfcebb220f2ce700c7cbe484e62cd2e2 (diff) |
Stub implementation for SDL_InitSubSystem
This fixes issue #196.
-rw-r--r-- | src/library_sdl.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index d438fc23..35c619b8 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -561,6 +561,8 @@ mergeInto(LibraryManager.library, { Mix_OpenAudio: function() { return -1 }, + SDL_InitSubSystem: function(flags) { return 0 }, + SDL_AddTimer: function(interval, callback, param) { return window.setTimeout(function() { FUNCTION_TABLE[callback](interval, param); |