2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-18 17:25:23 +00:00

More aurora::gx refactoring

This commit is contained in:
2022-03-07 18:53:42 -05:00
parent 35674c27e5
commit 71342ed75e
23 changed files with 843 additions and 383 deletions

View File

@@ -6,7 +6,7 @@
namespace metaforce {
template <class T, size_t N>
void write_reserved_vector(const rstl::reserved_vector<T, N>& v, COutputStream& out) {
out.Put(v.size());
out.Put<u32>(v.size());
for (const auto& t : v) {
out.Put(t);
}
@@ -14,7 +14,7 @@ void write_reserved_vector(const rstl::reserved_vector<T, N>& v, COutputStream&
template <class T>
void write_vector(const std::vector<T>& v, COutputStream& out) {
out.Put(v.size());
out.Put<u32>(v.size());
for (const auto& t : v) {
out.Put(t);
}