mirror of
https://github.com/jhbruhn/eurorack.git
synced 2025-03-15 02:55:49 +00:00
21 lines
375 B
C++
21 lines
375 B
C++
#include "stmlib/system/page_storage.h"
|
|
|
|
#include "settings.h"
|
|
#include "midi2cv/part.h"
|
|
|
|
Settings::Settings() : first_start(false)
|
|
{
|
|
persistent_data_.honor = 1;
|
|
|
|
first_start = !chunk_storage_.Init(&persistent_data_, &state_);
|
|
}
|
|
|
|
void Settings::SavePersistentData()
|
|
{
|
|
chunk_storage_.SavePersistentData();
|
|
}
|
|
|
|
void Settings::SaveState()
|
|
{
|
|
chunk_storage_.SaveState();
|
|
}
|