File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1472,17 +1472,18 @@ var Module = null;
14721472 // for persistence purposes.
14731473 if ( BrowserFS . FileSystem . IndexedDB . isAvailable ( ) ) {
14741474 var AsyncMirrorFS = BrowserFS . FileSystem . AsyncMirror ,
1475- IndexedDBFS = BrowserFS . FileSystem . IndexedDB ;
1476- IndexedDBFS . Create ( function ( e , idbfs ) {
1475+ IndexedDBFS = BrowserFS . FileSystem . IndexedDB ,
1476+ fileSystemKey = "fileSystemKey" in _game_data ? _game_data . fileSystemKey
1477+ : "emularity" ;
1478+ IndexedDBFS . Create ( { storeName : fileSystemKey } ,
1479+ function ( e , idbfs ) {
14771480 if ( e ) {
14781481 finish ( e , inMemory ) ;
14791482 } else {
14801483 AsyncMirrorFS . Create ( { sync : inMemory , async : idbfs } ,
14811484 finish ) ;
14821485 }
1483- } ,
1484- { storeName : "fileSystemKey" in _game_data ? _game_data . fileSystemKey
1485- : "emularity" } ) ;
1486+ } ) ;
14861487 } else {
14871488 finish ( e , inMemory ) ;
14881489 }
You can’t perform that action at this time.
0 commit comments