[nostalgia] Fix ignored ox::Error's

This commit is contained in:
2020-10-11 19:04:10 -05:00
parent a725369311
commit c671c8bd66
5 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ struct NostalgiaStudioProfile {
template<typename T>
ox::Error model(T *io, NostalgiaStudioProfile *obj) {
auto err = OxError(0);
io->setTypeInfo("NostalgiaStudioProfile", 3);
oxReturnError(io->setTypeInfo("NostalgiaStudioProfile", 3));
oxReturnError(io->field("app_name", &obj->appName));
oxReturnError(io->field("org_name", &obj->orgName));
oxReturnError(io->field("plugins_path", &obj->pluginsPath));