mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-10 08:39:29 +00:00
Soundboard bugfix: shouldn't crash with long file names
This commit is contained in:
@@ -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 { };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user