mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-13 20:22:22 -04:00
Soundboard bugfix: shouldn't crash with long file names
This commit is contained in:
parent
394331ebd2
commit
15f66eb74e
7 changed files with 32 additions and 40 deletions
|
@ -125,13 +125,13 @@ private:
|
|||
data_t data;
|
||||
};
|
||||
|
||||
header_t header;
|
||||
header_t header { };
|
||||
|
||||
File file;
|
||||
uint32_t data_start;
|
||||
uint32_t bytes_per_sample;
|
||||
uint32_t data_size_;
|
||||
uint32_t sample_rate_;
|
||||
File file { };
|
||||
uint32_t data_start { };
|
||||
uint32_t bytes_per_sample { };
|
||||
uint32_t data_size_ { 0 };
|
||||
uint32_t sample_rate_ { };
|
||||
std::filesystem::path last_path { };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue