diff --git a/stratosphere/ams_mitm/source/set_mitm/setsys_mitm_service.cpp b/stratosphere/ams_mitm/source/set_mitm/setsys_mitm_service.cpp index 3e0dd2134..8fc7f848d 100644 --- a/stratosphere/ams_mitm/source/set_mitm/setsys_mitm_service.cpp +++ b/stratosphere/ams_mitm/source/set_mitm/setsys_mitm_service.cpp @@ -137,7 +137,7 @@ namespace ams::mitm::settings { *entries_read = total_entries; - return ResultSuccess(); + R_SUCCEED(); } Result StoreExternalBluetoothDatabase(const SetSysBluetoothDevicesSettings *db, size_t total_entries) { @@ -178,7 +178,7 @@ namespace ams::mitm::settings { R_TRY(fs::WriteFile(file, db_offset, db, total_entries * sizeof(SetSysBluetoothDevicesSettings), fs::WriteOption::Flush)); } - return ResultSuccess(); + R_SUCCEED(); } } @@ -211,7 +211,7 @@ namespace ams::mitm::settings { /* Also allow the updated database to be stored to system save as usual. */ R_TRY(setsysSetBluetoothDevicesSettingsFwd(m_forward_service.get(), settings.GetPointer(), settings.GetSize())); - return ResultSuccess(); + R_SUCCEED(); } Result SetSysMitmService::GetBluetoothDevicesSettings(sf::Out out_count, const sf::OutMapAliasArray &out) { @@ -232,7 +232,7 @@ namespace ams::mitm::settings { R_TRY(ReadExternalBluetoothDatabase(out_count.GetPointer(), out.GetPointer(), out.GetSize())); } - return ResultSuccess(); + R_SUCCEED(); } Result SetSysMitmService::GetSettingsItemValueSize(sf::Out out_size, const settings::SettingsName &name, const settings::SettingsItemKey &key) {