ams_mitm: update for new sf semantics
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stratosphere.hpp>
|
||||
#include "../amsmitm_debug.hpp"
|
||||
#include "../amsmitm_fs_utils.hpp"
|
||||
#include "settings_sd_kvs.hpp"
|
||||
|
||||
@@ -345,12 +344,6 @@ namespace ams::settings::fwdbg {
|
||||
/* If you do not know what you are doing, do not touch this yet. */
|
||||
R_ABORT_UNLESS(ParseSettingsItemValue("atmosphere", "fsmitm_redirect_saves_to_sd", "u8!0x0"));
|
||||
|
||||
/* Controls whether to enable the deprecated hid mitm */
|
||||
/* to fix compatibility with old homebrew. */
|
||||
/* 0 = Do not enable, 1 = Enable. */
|
||||
/* Please note this setting may be removed in a future release of Atmosphere. */
|
||||
R_ABORT_UNLESS(ParseSettingsItemValue("atmosphere", "enable_deprecated_hid_mitm", "u8!0x0"));
|
||||
|
||||
/* Controls whether am sees system settings "DebugModeFlag" as */
|
||||
/* enabled or disabled. */
|
||||
/* 0 = Disabled (not debug mode), 1 = Enabled (debug mode) */
|
||||
@@ -377,10 +370,7 @@ namespace ams::settings::fwdbg {
|
||||
LoadDefaultCustomSettings();
|
||||
|
||||
/* Parse custom settings off the SD card. */
|
||||
const Result parse_result = LoadSdCardKeyValueStore();
|
||||
if (R_FAILED(parse_result)) {
|
||||
ams::mitm::ThrowResultForDebug(parse_result);
|
||||
}
|
||||
R_ABORT_UNLESS(LoadSdCardKeyValueStore());
|
||||
|
||||
/* Determine how many custom settings are present. */
|
||||
for (size_t i = 0; i < util::size(g_entries); i++) {
|
||||
|
||||
Reference in New Issue
Block a user