2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-15 01:26:08 +00:00

More refactoring, decouple tweaks from hecl

This commit is contained in:
2022-02-19 05:04:45 -08:00
parent ce23544a15
commit ad272f7468
204 changed files with 6475 additions and 2110 deletions

View File

@@ -1,6 +1,6 @@
#include "Runtime/Audio/CMidiManager.hpp"
#include "Runtime/CInputStream.hpp"
#include "Runtime/Streams/CInputStream.hpp"
namespace metaforce {
@@ -40,7 +40,7 @@ CMidiManager::CMidiData::CMidiData(CInputStream& in) {
in.ReadLong();
x0_setupId = in.ReadLong();
x2_groupId = in.ReadLong();
x4_agscId = in.ReadLong();
x4_agscId = in.Get<CAssetId>();
u32 length = in.ReadLong();
x8_arrData.reset(new u8[length]);
in.ReadBytes(reinterpret_cast<char*>(x8_arrData.get()), length);