Skip to content

fix(web): stop naming every Lua-bridge emulator BizHawk - #452

Merged
kqesar merged 1 commit into
masterfrom
fix-lua-device-name
Oct 30, 2026
Merged

kqesar merged 1 commit into
masterfrom
fix-lua-device-name

Conversation

@kqesar

@kqesar kqesar commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Any emulator on SNI's Lua bridge (e.g. Mesen via MesenSConnector.lua) showed as "BizHawk 4" in the autotracking status and dialog.

SNI's luabridge driver (devices/snes/drivers/luabridge/device.go, v0.0.103) reads the connector's Version|<client>|<protocol>|<emulator> reply but keeps only the first two fields ("SNI Connector", "4"); the emulator name is never exposed to clients, and the "4" is the connector protocol version. So the status now says "Lua emulator" ("the Lua emulator" in the headline) and drops that version.

Verification: new status spec cases (fail before); lint, typecheck, check:docs and test:coverage exit 0. No dialog text beyond the device name changed, so no e2e run.

SNI's luabridge driver keeps the connector's name and protocol version ('SNI Connector', '4')
and drops the emulator the connector reports (BizHawk, Snes9x, Mesen-S), so a Lua emulator
was shown as 'BizHawk 4'. Show the kind, 'Lua emulator', without the protocol version.
@github-actions

Copy link
Copy Markdown
Contributor

🔍 CI Results

Check Status
Linting ✅
Type-check ✅
Tests ✅

📊 Test Coverage

Metric Coverage Status
Lines 98.94% 🟢
Statements 98.12% 🟢
Functions 98.31% 🟢
Branches 93.14% 🟢

✅ All checks passed!


Updated at 2026-10-30T12:15:20.791Z

@kqesar
kqesar merged commit f207fcd into master Oct 30, 2026
16 checks passed
@kqesar
kqesar deleted the fix-lua-device-name branch October 30, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant