Skip to content

Conversation

@madewokherd
Copy link
Contributor

Yargis - Space Melee, a Windows XNA game, uses GraphicsAdapter.get_MonitorHandle(). In Proton, with Wine Mono's FNA-based replacement for XNA, it crashes with a NotImplementedException.

The game presumably wants an HMONITOR (though, oddly enough, this seems to satisfy it), but returning an SDL_DisplayID will make a Wine Mono hack that returns HMONITOR easier, and perhaps someone will find it useful for converting their existing code.

@flibitijibibo flibitijibibo merged commit 89da554 into FNA-XNA:master Nov 20, 2025
1 check passed
@madewokherd madewokherd deleted the monitorhandle branch November 20, 2025 21:19
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