types: widen Ngs2WaveformBlock offset/size fields to 64-bit

PS5 grew Ngs2WaveformBlock's data_offset/data_size pair from 32-bit to
64-bit fields (40-byte record vs. the 32-byte PS4 layout). Standalone
correctness fix, unrelated to and non-conflicting with the pad work in
the preceding commits.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
OverkillLabs
2026-09-28 13:43:40 +03:00
parent 1d245cbeb2
commit 9673bce423
+3 -2
View File
@@ -591,8 +591,9 @@ struct Ngs2WaveformFormat {
};
struct Ngs2WaveformBlock {
std::uint32_t data_offset;
std::uint32_t data_size;
// PS5 grew the offset/size pair to 64 bits: the record is 40 bytes, not the 32-byte PS4 layout.
std::uint64_t data_offset;
std::uint64_t data_size;
std::uint32_t num_repeats;
std::uint32_t num_skip_samples;
std::uint32_t num_samples;