mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-05 09:13:43 -04:00
erpt: remove deprecated fields, they didn't actually change IDs, just the mapping between id and name table index
This commit is contained in:
parent
05259b7519
commit
71d0274884
10 changed files with 719 additions and 1406 deletions
|
@ -135,7 +135,7 @@ namespace ams::erpt::srv {
|
|||
auto record = std::make_unique<ContextRecord>(CategoryId_ProductModelInfo);
|
||||
R_UNLESS(record != nullptr, erpt::ResultOutOfMemory());
|
||||
|
||||
R_TRY(record->Add(ERPT_FIELD_ID(ProductModel), model, model_len));
|
||||
R_TRY(record->Add(FieldId_ProductModel, model, model_len));
|
||||
R_TRY(Context::SubmitContextRecord(std::move(record)));
|
||||
|
||||
R_SUCCEED();
|
||||
|
@ -146,7 +146,7 @@ namespace ams::erpt::srv {
|
|||
auto record = std::make_unique<ContextRecord>(CategoryId_RegionSettingInfo);
|
||||
R_UNLESS(record != nullptr, erpt::ResultOutOfMemory());
|
||||
|
||||
R_TRY(record->Add(ERPT_FIELD_ID(RegionSetting), region, region_len));
|
||||
R_TRY(record->Add(FieldId_RegionSetting, region, region_len));
|
||||
R_TRY(Context::SubmitContextRecord(std::move(record)));
|
||||
|
||||
R_SUCCEED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue