mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Added full SM64 -> AIFF Decoding
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user