Fixes audio for Native Client, and other fixes...

- SDL_NaClMount, SDL_NaClUmount
- Default mounting of https at / in SDL's main function
- More documentation in README-nacl.txt
This commit is contained in:
Gabriel Jacobo
2014-06-08 18:18:13 -03:00
parent 5ae12b46b5
commit efa2d0581d
11 changed files with 147 additions and 33 deletions

View File

@@ -161,16 +161,6 @@ main(int argc, char *argv[])
quit(2);
}
#if __NACL__
SDL_RWUmount("/");
SDL_RWMount(
"", /* source */
"/", /* target */
"httpfs", /* filesystemtype */
0, /* mountflags */
""); /* data specific to the html5fs type */
#endif
drawstates = SDL_stack_alloc(DrawState, state->num_windows);
for (i = 0; i < state->num_windows; ++i) {
DrawState *drawstate = &drawstates[i];