mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user