mirror of
https://github.com/jhbruhn/eurorack.git
synced 2025-03-14 18:55:48 +00:00
21 lines
349 B
C++
21 lines
349 B
C++
|
#include "stmlib/system/page_storage.h"
|
||
|
|
||
|
#include "settings.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();
|
||
|
}
|