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

@ -179,6 +179,22 @@ extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathT
#endif /* __WINRT__ */
#ifdef __NACL__
/**
* \name Mount/umount functions
*
* Required for RWOps on Native Client
*/
/* @{ */
extern DECLSPEC int SDLCALL SDL_NaClMount(const char* source, const char* target,
const char* filesystemtype,
unsigned long mountflags, const void *data);
extern DECLSPEC int SDLCALL SDL_NaClUmount(const char *target);
#endif /* __NACL__ */
/* Ends C function definitions when using C++ */
#ifdef __cplusplus