From 3fab5024a972b7d51f457f778649d167de00042b Mon Sep 17 00:00:00 2001 From: yuquanjun Date: Fri, 9 Oct 2026 17:28:15 +0800 Subject: [PATCH] fix(pick): ignore universal-mode strums while playback is running The pick only starts the piece. A later strum must not restart the preamble or change the chord. Co-authored-by: Cursor --- Global/Global.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Global/Global.c b/Global/Global.c index 51ff41a..b0b8dc3 100644 --- a/Global/Global.c +++ b/Global/Global.c @@ -1708,6 +1708,16 @@ void Pick_Handle() return; } + /* 万能(及设置页沿用万能):拨片只负责启动。播放行进中再拨不换和弦、不重开前奏。 */ + if (StartFlag && + (mGuiData[GUI_TAB_INDEX].Current == 0 || + (mGuiData[GUI_TAB_INDEX].Current == 3 && + mGuiData[GUI_TAB_LAST_INDEX].Current == 0))) + { + LOG_I("pick", "universal skip: already started"); + return; + } + /* 左手未触发和弦板(或落在拍速/停止键)时:拨片默认发当前调一级大和弦伴奏。 * 普通无指板也可起奏:用专业/普通记下的最后指板和弦,无记录才退回一级;无操作则偶拍停。 */ {