Sas: Default to the right preset in reverb.

This needs to match waveformEffect.type, which is the default on the PSP.

Otherwise, setting to OFF initially does nothing, and it remains ROOM.
This commit is contained in:
Unknown W. Brackets
2015-11-01 20:25:21 -08:00
parent 9371fcee65
commit 4a390ea18e
+4 -1
View File
@@ -152,7 +152,7 @@ static const SasReverbData presets[10] = {
},
};
SasReverb::SasReverb() : preset_(0), pos_(0) {
SasReverb::SasReverb() : preset_(-1), pos_(0) {
workspace_ = new int16_t[BUFSIZE];
}
@@ -161,6 +161,9 @@ SasReverb::~SasReverb() {
}
const char *SasReverb::GetPresetName(int preset) {
if (preset == -1) {
return "Off";
}
return presets[preset].name;
}