mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-01 14:27:27 +00:00
Bump the maximum number of threads
This commit is contained in:
parent
df3cbadceb
commit
b27944c0b5
2 changed files with 4 additions and 3 deletions
|
@ -16,7 +16,7 @@ namespace Ryujinx.Core.OsHle
|
||||||
|
|
||||||
public const long MainStackAddress = AMemoryMgr.AddrSize - MainStackSize;
|
public const long MainStackAddress = AMemoryMgr.AddrSize - MainStackSize;
|
||||||
|
|
||||||
public const long TlsPagesSize = 0x4000;
|
public const long TlsPagesSize = 0x20000;
|
||||||
|
|
||||||
public const long TlsPagesAddress = MainStackAddress - TlsPagesSize;
|
public const long TlsPagesAddress = MainStackAddress - TlsPagesSize;
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,9 @@ namespace Ryujinx.Core.OsHle
|
||||||
{
|
{
|
||||||
class Process : IDisposable
|
class Process : IDisposable
|
||||||
{
|
{
|
||||||
private const int TlsSize = 0x200;
|
private const int TlsSize = 0x200;
|
||||||
private const int TotalTlsSlots = 32;
|
|
||||||
|
private const int TotalTlsSlots = (int)MemoryRegions.TlsPagesSize / TlsSize;
|
||||||
|
|
||||||
private const int TickFreq = 19_200_000;
|
private const int TickFreq = 19_200_000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue