https://bugs.winehq.org/show_bug.cgi?id=47970
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll Hardware|x86 |x86-64
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- I've pushed all of the changes to Staging except for the one setting SegDs to SegSs.
Reportedly, the game does in fact demand that SegDs == SegSs in an exception handler. Ideally we'd like to not have to lie about SegDs (consider e.g. debuggers), so it would be best that %ds actually is equal to %ss. I'm not immediately sure what we'd need to do to make that the case. Is setting it once in init_thread_context() enough, or will the kernel ever touch it later? Is it correct to set %ds to be equal to %ss in the first place? I can't think of any reason why not, but it would be nice to have a guarantee from the kernel.