|
|
@ -1602,7 +1602,8 @@ public:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CSPhraseManager *pPM= CSPhraseManager::getInstance();
|
|
|
|
CSPhraseManager *pPM= CSPhraseManager::getInstance();
|
|
|
|
sint val= (sint32)value.getInteger();
|
|
|
|
sint val= (sint32)value.getInteger();
|
|
|
|
clamp(val, 0, MEM_SET_TYPES::NumMemories-1);
|
|
|
|
// first half of memorized stanza sets
|
|
|
|
|
|
|
|
clamp(val, 0, MEM_SET_TYPES::NumMemories / 2 - 1);
|
|
|
|
pPM->selectMemoryLineDB(val);
|
|
|
|
pPM->selectMemoryLineDB(val);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1626,8 +1627,11 @@ public:
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CSPhraseManager *pPM= CSPhraseManager::getInstance();
|
|
|
|
CSPhraseManager *pPM= CSPhraseManager::getInstance();
|
|
|
|
sint val= (sint32)value.getInteger();
|
|
|
|
// second half of memorized stanza sets
|
|
|
|
clamp(val, 0, MEM_SET_TYPES::NumMemories-1);
|
|
|
|
sint minValue = MEM_SET_TYPES::NumMemories / 2;
|
|
|
|
|
|
|
|
sint maxValue = MEM_SET_TYPES::NumMemories - 1;
|
|
|
|
|
|
|
|
sint val = (sint32)value.getInteger() + minValue;
|
|
|
|
|
|
|
|
clamp(val, minValue, maxValue);
|
|
|
|
pPM->selectMemoryLineDBalt(val);
|
|
|
|
pPM->selectMemoryLineDBalt(val);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|