Created
September 20, 2016 06:10
-
-
Save andres-asm/4f68d2573eb5dba88356553d06ab8cc4 to your computer and use it in GitHub Desktop.
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
function downloadSave() | |
{ | |
var data = FS.readFile('/home/web_user/retroarch/userdata/content/down.bin',{ encoding: 'binary' }); | |
var blob = new Blob([data], {type: "binary"}); | |
saveAs(blob, "down.bin"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment