Chrome's Native Client backend implementation
This commit is contained in:
parent
de4a745643
commit
c330e8e9e2
37 changed files with 2265 additions and 10 deletions
|
@ -161,6 +161,16 @@ 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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue