Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[F] Sudden changes in headphone volume #9

Merged
merged 3 commits into from
Jan 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions AquaMai.Mods/Tweaks/TimeSaving/EntryToMusicSelection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,14 @@ public static void MusicSelectProcessOnUpdate()
}
}
}

[HarmonyPrefix]
[HarmonyPatch(typeof(ContinueProcess), "OnStart")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

万一没开续关不就没有 ContinueProcess
我觉得应该 hook 别的地方吧
不行的话到时候我改一下

public static void ContinueProcessOnStart()
{
for (var i = 0; i < 2; i++)
{
_volumeFadeInState[i] = false;
}
}
}