2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-19 14:05:23 +00:00

RE COutput/InputStream and friends and migrate over

This branch is probably still horribly broken, but it's a good first step to migrating away from having hecl embedded in the runtime
This commit is contained in:
2022-02-17 23:37:54 -08:00
parent c679c2e0f8
commit dad7249927
172 changed files with 3629 additions and 2780 deletions

View File

@@ -11,7 +11,7 @@ class CSegId {
public:
constexpr CSegId() noexcept = default;
constexpr CSegId(u8 id) noexcept : x0_segId(id) {}
explicit CSegId(CInputStream& in) : x0_segId(in.readUint32Big()) {}
explicit CSegId(CInputStream& in) : x0_segId(in.ReadUint8()) {}
constexpr CSegId& operator++() noexcept {
++x0_segId;
return *this;