Added full SM64 -> AIFF Decoding

This commit is contained in:
KiritoDv
2023-09-03 23:29:11 -06:00
parent 063224c69d
commit 50b6c6f65b
9 changed files with 690 additions and 91 deletions
+6 -2
View File
@@ -58,7 +58,6 @@ int16_t LUS::BinaryReader::ReadInt16() {
if (mEndianness != Endianness::Native) {
result = BSWAP16(result);
}
return result;
}
@@ -192,6 +191,7 @@ std::string LUS::BinaryReader::ReadString() {
for (int i = 0; i < numChars; i++) {
res += ReadChar();
}
return res;
}
@@ -211,6 +211,10 @@ std::string LUS::BinaryReader::ReadCString() {
return res;
}
size_t LUS::BinaryReader::GetLength() {
return mStream->GetLength();
}
std::vector<char> LUS::BinaryReader::ToVector() {
return mStream->ToVector();
}
}