mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-27 08:46:01 -04:00
fixed memory usage (#2380)
* fixed memory usage in ui_about_simple * fixed memory usage in freqman_db * fixed memory usage in tone_key
This commit is contained in:
parent
fc08d4ead9
commit
b108d975c0
7 changed files with 42 additions and 24 deletions
|
@ -96,7 +96,7 @@ float tone_key_frequency(tone_index index) {
|
|||
std::string tone_key_string(tone_index index) {
|
||||
if (index < 0 || (unsigned)index >= tone_keys.size())
|
||||
return std::string("");
|
||||
return tone_keys[index].first;
|
||||
return (std::string)tone_keys[index].first;
|
||||
}
|
||||
|
||||
// Return string showing frequency only from specific table index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue