Final clean up of IOPort

This commit is contained in:
Jaby
2022-09-07 19:08:11 +02:00
parent beb3d6cb86
commit 2893acae19
2 changed files with 7 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ namespace SPU {
}
static void clear_main_volume() {
static constexpr auto StartVol = SweepVolume::with(!SweepVolume::SweepEnable, SweepVolume::Volume.with(I16_MAX >> 2));
static constexpr auto StartVol = SweepVolume::with(SweepVolume::VolumeEnable, SweepVolume::Volume.with(I16_MAX >> 2));
MainVolume::left.write(StartVol);
MainVolume::right.write(StartVol);