mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Ooops, code that resists erasure, I've seen that in a movie.
This commit is contained in:
parent
553cc07e9d
commit
6c5cb5400f
@ -24,24 +24,6 @@
|
|||||||
|
|
||||||
#ifdef SDL_FILESYSTEM_NACL
|
#ifdef SDL_FILESYSTEM_NACL
|
||||||
|
|
||||||
/* SDL_RWops on NACL are implemented using nacl_io, and require mount points
|
|
||||||
* to be established before actual file operations are performed
|
|
||||||
*
|
|
||||||
* Ref: https://developers.google.com/native-client/dev/devguide/coding/nacl_io
|
|
||||||
*/
|
|
||||||
|
|
||||||
int
|
|
||||||
SDL_NaClMount(const char* source, const char* target, const char* filesystemtype,
|
|
||||||
unsigned long mountflags, const void *data) {
|
|
||||||
return mount(source, target, filesystemtype, mountflags, data);
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
||||||
SDL_NaClUmount(const char *target) {
|
|
||||||
return umount(target);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
SDL_GetBasePath(void)
|
SDL_GetBasePath(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user