Skip to content

Allow connection for devices that don't have SNI mapping_detect implemented#99

Open
awardjr wants to merge 2 commits into
EmoTracker-Community:mainfrom
awardjr:MiSTerFPGA-Workaround
Open

Allow connection for devices that don't have SNI mapping_detect implemented#99
awardjr wants to merge 2 commits into
EmoTracker-Community:mainfrom
awardjr:MiSTerFPGA-Workaround

Conversation

@awardjr
Copy link
Copy Markdown

@awardjr awardjr commented May 31, 2026

For some SNI distributions, such as the currently in testing MiSTerFPGA implementation, the SNI mapping_detect functionality is not implemented. See: https://github.com/NobodyNada/snid/blob/530b1ad2a9a29219ba0431f1c8ddee14cc61c286/src/server/sni/mod.rs#L173

When we receive a well formed error with the status explicitly "Unimplemented," we can assume the device is connected for users of said devices. However, they will have to know to explicitly change the Memory Mapping if their game requires until mapping_detect is implemented, if possible.

Tested with Map Rando on a MiSTerFPGA, and this implementation was done in a way that hopefully won't cause any issues with other already tested platforms

…nimplemented status, assume the device is connected.
@awardjr awardjr requested a review from a team May 31, 2026 18:43
Copy link
Copy Markdown
Contributor

@emosaru emosaru left a comment

Choose a reason for hiding this comment

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

I'm approving this review, but am holding off on submitting it for a bit pending further discussion in Discord.

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.

2 participants