Repository navigation
Winelibs: use the MS x64 ABI for exported bridge functions - #77
Conversation
|
@ndarilek According to the GCC manual |
|
Got it. My assumption is that this is probably fine since it's likely running in the context of an x86_64 game, but let me know if it's not. |
|
I mean it is, and your preprocessor definitions do eliminate the macro on non-x86 targets anyway. And Prism does not (officially) support 32-bit. Could probably update it to handle 32-bit if you really wanted to. |
|
Got it, so sounds like this is OK to merge since 32-bit support isn't official anyway? No rush on it--I'm using a vendored build ATM--just want to make sure we're unblocked. Thanks! |
|
This isn't blocked by anything, I'm just making changes on the v0-17-2 branch at the moment and trying to get CI to work. I am mostly done with those and once I'm happy with those changes I'll merge them into master and then merge this PR. |
Disclosure: created with the help of Claude Code. I myself am not familiar with how the win32 calling conventions work, but I've eyeballed the code and it doesn't appear to do anything nefarious, though I don't know if it should be gated only on x86_64 or if it'd make sense on aarch64 platforms too.
My goal was to get various game accessibility mods running in Proton, communicating with Orca. With this patch in place, and using the installer I'm building, I've successfully used this DLL with both Hades and Disco Elysium. Both now speak natively through Orca but didn't before.