Adds missing Makefile for NACL test and a couple of smaller fixes
This commit is contained in:
parent
1e352d7929
commit
93aabd3224
3 changed files with 73 additions and 0 deletions
|
@ -133,6 +133,16 @@ main(int argc, char **argv)
|
|||
}
|
||||
|
||||
SDL_Log("Using audio driver: %s\n", SDL_GetCurrentAudioDriver());
|
||||
|
||||
#if __NACL__
|
||||
SDL_RWUmount("/");
|
||||
SDL_RWMount(
|
||||
"", /* source */
|
||||
"/", /* target */
|
||||
"httpfs", /* filesystemtype */
|
||||
0, /* mountflags */
|
||||
""); /* data specific to the html5fs type */
|
||||
#endif
|
||||
|
||||
devcount = SDL_GetNumAudioDevices(0);
|
||||
if (devcount < 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue