Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/emu/x64emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,9 @@ uintptr_t GetSegmentBaseEmu(x64emu_t* emu, int seg)
#ifdef BOX64EC
if (seg == _GS)
return emu->win64_teb;
#endif
#ifdef _WIN32
/* Wine seeds FS from the current TEB; the OS segment lookup is a stub. */
if (seg == _FS)
return emu->segs_offs[_FS];
#endif
Expand Down
Loading