Add comments to explain stuff and other stuff

This commit is contained in:
Stossy11 2025-02-07 10:33:43 +11:00
parent 0b6518d7e3
commit c8db129402
12 changed files with 60 additions and 30 deletions

View file

@ -10,7 +10,7 @@ namespace Ryujinx.Cpu.LightningJit.Cache
class NoWxCache : IDisposable
{
private const int CodeAlignment = 4; // Bytes.
private const int SharedCacheSize = 2047 * 1024 * 1024;
private const int SharedCacheSize = 192 * 1024 * 1024;
private const int LocalCacheSize = 128 * 1024 * 1024;
// How many calls to the same function we allow until we pad the shared cache to force the function to become available there