aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-30 11:32:55 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-30 11:32:55 -0800
commit0320e9d82e44db8cf64b8049fa8b5fe1772f6061 (patch)
tree961eceb04e2e20feac0fff4186548588a29666e7
parentb198650b2ce7eeea4c0d7caa699b6d52b10cdfb0 (diff)
parent554c4f5125385d013521056b825a6dc173ed4ff5 (diff)
Merge pull request #197 from ehsan/sdl_initsubsystem
Stub implementation for SDL_InitSubSystem
-rw-r--r--src/library_sdl.js2
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);