-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IndexedDB is now used as a cache for game files
Emularity had been storing downloaded game files into the IndexedDB, but if the file was already present then it would download it again and overwrite it. Now it will skip the download if the file exists. At present this only applies to files downloaded using the “saveFile” method, not the “mountZip” method. The “mountZip” method doesn’t save the zip file anywhere, so no caching is currently done. Potentially this could cause you problems if a file gets corrupted or edited, and reloading the page won’t fix it. Emularity doesn‘t provide a UI for diagnosing or fixing such problems at present, so you may want to implement some way to flush the IndexedDB containing the filesystem.
- Loading branch information
Showing
1 changed file
with
133 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters