Fix WINGUI missing break statements and DISC AUTO command sequence#22
Draft
Fix WINGUI missing break statements and DISC AUTO command sequence#22
Conversation
1 task
…ha-main.c Agent-Logs-Url: https://github.com/ps2homebrew/PMAP/sessions/c0a88a6e-51a6-4df5-937d-c414b596ced2 Co-authored-by: AKuHAK <621640+AKuHAK@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix INIT SKEW fails with Rx-command error 122
Fix WINGUI missing break statements and DISC AUTO command sequence
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
INIT SKEW on MD1.40 (Dragon) consoles fails with
Rx-command error: 122becauseMECHA_TYPE_40was sending FIX_GAIN param"0005"instead of the Dragon-specific"0105". This was already fixed inbase/mecha-main.cbut several follow-up fixes were never backported toPMAP-wingui/mecha-main.c.Changes to
PMAP-wingui/mecha-main.cMechaAdjPlayfallthrough bug:break;was inside theif("FJ")block — when the drive is in DVDDL state and the arg is anything other than"FJ", execution fell through to the DVDSL/CD "Please STOP" message:DISC AUTO command sequence (commit
2290c79): old code ranDISC_DETECTthen set CD_8 mode, causing intermittent mis-detection as "CD 8cm". Updated to SLED HOME → set CD_12 mode → DISC_DETECT, matching the base fix.Missing
break;statements: Added trailingbreak;in the last switch cases ofMechaAdjInit(DVD-SL, DVD-DL, SKEW),MechaAdjPlayspeed switch defaults,MechaAdjPause,MechaAdjTxHandler/MechaAdjRxHandler, and allMechaTestPlaycommand handlers (REV, FWDL, REVL, STOP) — bringing WINGUI in sync withbase/mecha-main.cfrom commit39b66743.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/AKuHAK/PMAP/commits/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.