Use a bigger TLSData by default with forcing emulated gtk (helps steam, I think)

This commit is contained in:
ptitSeb 2022-07-14 16:24:33 +02:00
parent 875f1d094d
commit 45d2ac757e

View File

@ -136,7 +136,8 @@ static int sizeDTS(box86context_t* context)
}
static int sizeTLSData(int s)
{
return (s+0x1fff)&~0x1fff;
uint32_t mask = box86_nogtk?0xffff:0x1fff;
return (s+mask)&~mask;
}
static tlsdatasize_t* setupTLSData(box86context_t* context)