(ems) use imfs in this template for testing purposes

This commit is contained in:
radius 2016-09-24 12:59:10 -05:00
parent 5f5ac1557e
commit dc276df53e
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ HAVE_SDL2 = 1
HAVE_ZLIB = 1 HAVE_ZLIB = 1
HAVE_FBO = 1 HAVE_FBO = 1
WANT_ZLIB = 1 WANT_ZLIB = 1
MEMORY = 268435456 MEMORY = 536870912
LTO = 0 LTO = 0
ASYNC = 0 ASYNC = 0
# XXX: setting this to 1/2 currently crashes Firefox nightly # XXX: setting this to 1/2 currently crashes Firefox nightly

View File

@ -132,10 +132,10 @@ function setupFileSystem(backend)
console.log("WEBPLAYER: Initializing LocalStorage"); console.log("WEBPLAYER: Initializing LocalStorage");
/* create a local filesystem */ /* create a local filesystem */
var lsfs = new BrowserFS.FileSystem.LocalStorage(); var imfs = new BrowserFS.FileSystem.InMemoryFileSystem();
/* mount the filesystems onto mfs */ /* mount the filesystems onto mfs */
mfs.mount('/home/web_user/retroarch/userdata', lsfs); mfs.mount('/home/web_user/retroarch/userdata', imfs);
} }
else else