diff --git a/pkg/emscripten/itch/index.html b/pkg/emscripten/itch/index.html index d063743760..d0f9eb4aed 100644 --- a/pkg/emscripten/itch/index.html +++ b/pkg/emscripten/itch/index.html @@ -88,6 +88,9 @@ + - - - - - - - + @@ -114,18 +114,18 @@
-
+
-
@@ -136,7 +136,6 @@
- diff --git a/pkg/emscripten/libretro/libretro.js b/pkg/emscripten/libretro/libretro.js index 76205bb2f8..e34de6d80a 100644 --- a/pkg/emscripten/libretro/libretro.js +++ b/pkg/emscripten/libretro/libretro.js @@ -45,6 +45,11 @@ var showError = function(error) { } }; +function cleanupStorage() +{ + localStorage.clear(); +} + function dropboxInit() { document.getElementById('btnRun').disabled = true; @@ -329,6 +334,7 @@ $(function() { $('#lblLocal').addClass('active'); preLoadingComplete(); setupFileSystem("browser"); + document.getElementById("btnClean").disabled = false; } }); });