[nostalgia/core] Add ability to chain converters
This commit is contained in:
@@ -23,7 +23,7 @@ ox::Result<AssetRef<T>> readObj(Context *ctx, const ox::FileAddress &file, bool
|
||||
if (err != ox::Error_ClawTypeVersionMismatch && err != ox::Error_ClawTypeMismatch) {
|
||||
return err;
|
||||
}
|
||||
oxReturnError(convert(buff, T::TypeName, T::TypeVersion, &obj));
|
||||
oxReturnError(convert<T>(buff, &obj));
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user