diff --git a/www/js/plugins/CordovaFixes.js b/www/js/plugins/CordovaFixes.js index 740ddfc..a1d7e15 100644 --- a/www/js/plugins/CordovaFixes.js +++ b/www/js/plugins/CordovaFixes.js @@ -249,23 +249,19 @@ Window_OmoMenuOptionsGeneral.prototype.processOptionCommand = function() { // Set Config Manager Screen Resolution ConfigManager.screenResolution = data.index; break; - case 1: // Fullscreen - // Set config manager Full screen state - ConfigManager.fullScreen = data.index === 0 ? true : false; - this._processDelay = 20; - break; - case 2: - ConfigManager.gamepadTips = data.index === 0 ? true : false; + case 1: + ConfigManager.gamepadTips = data.index === 0 ? false : true; + console.log(ConfigManager.gamepadTips); if(SceneManager._scene instanceof Scene_OmoriTitleScreen) { SceneManager._scene.refreshCommandHints(); // Refresh command title hints; } break; - case 3: ConfigManager.textSkip = data.index === 0 ? true : false; break; - case 4: ConfigManager.battleLogSpeed = data.index; ;break; - case 5: ConfigManager.alwaysDash = data.index === 0 ? true : false ;break; + case 2: ConfigManager.textSkip = data.index === 0 ? true : false; break; + case 3: ConfigManager.battleLogSpeed = data.index; ;break; + case 4: ConfigManager.alwaysDash = data.index === 0 ? true : false ;break; // OMORI RUS mod specific: - case 6: ConfigManager.rusCoverInBadEnding = data.index === 0 ? true : false; break; + case 5: ConfigManager.rusCoverInBadEnding = data.index === 0 ? true : false; break; }; }; diff --git a/www/js/porting/persistent.js b/www/js/porting/persistent.js index b9c7da7..b7c25fd 100644 --- a/www/js/porting/persistent.js +++ b/www/js/porting/persistent.js @@ -9,7 +9,7 @@ function localStorageImplementation() { return { readSaveFileUTF8(path) { console.log(`Failed to get externalStorage. Using localStorage to read save at ${path}`); - return atob(localStorage.getItem(path)); + return localStorage.getItem(path); }, saveFileExists(path) { @@ -19,7 +19,7 @@ function localStorageImplementation() { writeSaveFileUTF8(path, data) { console.log(`Failed to get externalStorage. Writing ${path} save file to the localStorage`); - localStorage.setItem(path, btoa(data)); + localStorage.setItem(path, data); } }; }