Implement at32() util

Works like .at() but uses source location for "exception".
This commit is contained in:
Nekotekina 2022-09-19 15:57:51 +03:00 committed by Ivan
parent 2655255d4d
commit 6ff6a4989a
62 changed files with 472 additions and 452 deletions

View file

@ -65,11 +65,11 @@ namespace
}
SaveDataEntry save_entry2;
save_entry2.dirName = psf.at("SAVEDATA_DIRECTORY").as_string();
save_entry2.listParam = psf.at("SAVEDATA_LIST_PARAM").as_string();
save_entry2.title = psf.at("TITLE").as_string();
save_entry2.subtitle = psf.at("SUB_TITLE").as_string();
save_entry2.details = psf.at("DETAIL").as_string();
save_entry2.dirName = ::at32(psf, "SAVEDATA_DIRECTORY").as_string();
save_entry2.listParam = ::at32(psf, "SAVEDATA_LIST_PARAM").as_string();
save_entry2.title = ::at32(psf, "TITLE").as_string();
save_entry2.subtitle = ::at32(psf, "SUB_TITLE").as_string();
save_entry2.details = ::at32(psf, "DETAIL").as_string();
save_entry2.size = 0;