mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-12 09:02:56 -04:00
Capped max entries per Freqman file to 30 due to RAM issue
Capped max files in Soundboard to 54 and removed CTCSS options due to same issue Splitted files for jammer ranges Bugfix: Mismatch between filename and category name in Freqman Bugfix: Freqman file parsing strstr()'s might have gone out of buffer Updated binary
This commit is contained in:
parent
2d01822cdb
commit
70c7646743
11 changed files with 134 additions and 57 deletions
|
@ -30,8 +30,8 @@
|
|||
#define __FREQMAN_H__
|
||||
|
||||
#define FREQMAN_DESC_MAX_LEN 30
|
||||
#define FREQMAN_MAX_PER_FILE 50
|
||||
#define FREQMAN_MAX_PER_FILE_STR "50"
|
||||
#define FREQMAN_MAX_PER_FILE 30
|
||||
#define FREQMAN_MAX_PER_FILE_STR "30"
|
||||
|
||||
using namespace ui;
|
||||
using namespace std;
|
||||
|
@ -55,9 +55,7 @@ struct freqman_entry {
|
|||
freqman_entry_type type { };
|
||||
};
|
||||
|
||||
struct freqman_db {
|
||||
std::vector<freqman_entry> entries;
|
||||
};
|
||||
using freqman_db = std::vector<freqman_entry>;
|
||||
|
||||
std::vector<std::string> get_freqman_files();
|
||||
bool load_freqman_file(std::string& file_stem, freqman_db &db);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue