mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 19:53:56 +00:00
Fix TLS operations
This commit is contained in:
@@ -1566,6 +1566,8 @@ namespace
|
||||
|
||||
thread_iterator->second.teb->access([&](TEB& teb)
|
||||
{
|
||||
entry.ThreadId = reinterpret_cast<ULONG_PTR>(teb.ClientId.UniqueThread);
|
||||
|
||||
const auto tls_vector = static_cast<PVOID*>(teb.ThreadLocalStoragePointer);
|
||||
|
||||
if (tls_info.TlsRequest == ProcessTlsReplaceIndex)
|
||||
|
||||
Reference in New Issue
Block a user