fix(bridge): restore VST2 preset chunk on respawn + offline render (Qin silent fix)

This commit is contained in:
2026-08-20 10:18:18 +07:00
parent 7c22ae1f02
commit 4932bb88db
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -1355,7 +1355,7 @@ int main(int argc, char* argv[]) {
}
if (ok) {
if (auto* inst = instruments.get(ch)) {
if (t == InstrumentType::VST3 && !preset.empty())
if ((t == InstrumentType::VST3 || t == InstrumentType::VST2) && !preset.empty())
inst->loadSerializedState(preset);
else
inst->selectProgram(ch, bank, program);