htcs: hook service objects up to (unimplemented) manager apis

This commit is contained in:
Michael Scire 2021-02-17 04:08:58 -08:00 committed by SciresM
parent f0ef9fb918
commit 61929d6e21
11 changed files with 396 additions and 41 deletions

View file

@ -206,11 +206,11 @@ namespace ams::sf {
}
constexpr explicit operator Span<const T>() const {
return {this->GetPointer(), static_cast<ptrdiff_t>(this->GetSize())};
return {this->GetPointer(), this->GetSize()};
}
constexpr Span<const T> ToSpan() const {
return {this->GetPointer(), static_cast<ptrdiff_t>(this->GetSize())};
return {this->GetPointer(), this->GetSize()};
}
};
@ -238,11 +238,11 @@ namespace ams::sf {
}
constexpr explicit operator Span<T>() const {
return {this->GetPointer(), static_cast<ptrdiff_t>(this->GetSize())};
return {this->GetPointer(), this->GetSize()};
}
constexpr Span<T> ToSpan() const {
return {this->GetPointer(), static_cast<ptrdiff_t>(this->GetSize())};
return {this->GetPointer(), this->GetSize()};
}
};