mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
No dropped inputs (#325)
This commit is contained in:
committed by
Garrett Cox
parent
1cee3b3287
commit
84dd4713a5
@@ -403,12 +403,15 @@ void DrawEnhancementsMenu() {
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
if (UIWidgets::BeginMenu("Songs")) {
|
||||
if (UIWidgets::BeginMenu("Songs/Playback")) {
|
||||
UIWidgets::CVarCheckbox("Enable Sun's Song", "gEnhancements.Songs.EnableSunsSong", {
|
||||
.tooltip = "Enables the partially implemented Sun's Song. RIGHT-DOWN-UP-RIGHT-DOWN-UP to play it. "
|
||||
"This song will make time move very fast until either Link moves to a different scene, "
|
||||
"or when the time switches to a new time period."
|
||||
});
|
||||
UIWidgets::CVarCheckbox("Prevent Dropped Ocarina Inputs", "gEnhancements.Playback.NoDropOcarinaInput", {
|
||||
.tooltip = "Prevent dropping inputs when playing the ocarina quickly"
|
||||
});
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
@@ -2588,7 +2588,9 @@ void AudioOcarina_PlayControllerInput(u8 isOcarinaSfxSuppressedWhenCancelled) {
|
||||
// Prevents two different ocarina notes from being played on two consecutive frames
|
||||
if ((sOcarinaFlags != 0) && (sOcarinaDropInputTimer != 0)) {
|
||||
sOcarinaDropInputTimer--;
|
||||
return;
|
||||
if (!CVarGetInteger("gEnhancements.Playback.NoDropOcarinaInput", 0)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Ensures the button pressed to start the ocarina does not also play an ocarina note
|
||||
|
||||
Reference in New Issue
Block a user