]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Mount httpfs to /http with custom flags, as caching the whole pk3 file won't work...
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 23 Sep 2015 15:16:49 +0000 (11:16 -0400)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 23 Sep 2015 15:16:49 +0000 (11:16 -0400)
sys_sdl.c

index 9d261de4efc0667a51aa6966f20b808f75d1046b..2ba791b671ec3ccff9c5796e7eb4111fd797f977 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -208,6 +208,7 @@ static void NaCl_Init(void)
        mount("", "/dev", "dev", 0, "");
        mount("", "/.config", "html5fs", 0, "type=PERSISTENT,expected_size=8388608");
        mount("", "/.cache", "html5fs", 0, "type=TEMPORARY,expected_size=1073741824");
+       mount("", "/http", "httpfs", 0, "cache_stat=true,cache_content=false");
        int fd = open("/dev/console0", O_WRONLY, 0644);
        outfd = fd;
 }