titlescreen: audio lp is no longer disabled too early

This commit is contained in:
minjaesong
2023-11-21 15:14:01 +09:00
parent 1459fc5be9
commit 3ff90655f6

View File

@@ -268,6 +268,10 @@ class TitleScreen(batch: FlippingSpriteBatch) : IngameInstance(batch) {
bogoflops = Math.round(bogoflops.toDouble() * (1000000000.0 / (sc - st)))
printdbg(this, "Bogoflops old: ${App.bogoflops} new: $bogoflops")
App.bogoflops = maxOf(App.bogoflops, bogoflops)
(AudioMixer.fadeBus.filters[0] as Lowpass).setCutoff(TerrarumAudioMixerTrack.SAMPLING_RATEF / 2)
}
@@ -295,10 +299,6 @@ class TitleScreen(batch: FlippingSpriteBatch) : IngameInstance(batch) {
App.updateListOfSavegames()
UILoadGovernor.reset()
(AudioMixer.fadeBus.filters[0] as Lowpass).setCutoff(TerrarumAudioMixerTrack.SAMPLING_RATEF / 2)
loadThingsWhileIntroIsVisible()
printdbg(this, "show() exit")
}