Random changes to try and lower memory

This commit is contained in:
Stossy11 2024-12-24 17:13:46 +11:00
parent ace6616067
commit ccf89aa324
4 changed files with 2 additions and 6 deletions
src
ARMeilleure/Translation
MeloNX/MeloNX.xcodeproj/project.xcworkspace/xcuserdata/stossy11.xcuserdatad
Ryujinx.Cpu/LightningJit
Ryujinx.Tests/Cpu

@ -60,8 +60,6 @@ namespace ARMeilleure.Translation
{
get
{
ObjectDisposedException.ThrowIf(_disposed, this);
return _dispatchLoop.Value;
}
}

@ -66,8 +66,6 @@ namespace Ryujinx.Cpu.LightningJit
{
get
{
ObjectDisposedException.ThrowIf(_disposed, this);
return _dispatchLoop.Value;
}
}

@ -37,8 +37,8 @@ namespace Ryujinx.Tests.Cpu
{
int pageBits = (int)ulong.Log2(Size);
_ram = new MemoryBlock(Size * 2);
_memory = new MemoryManager(_ram, 1ul << (pageBits + 4));
_ram = new MemoryBlock(Size);
_memory = new MemoryManager(_ram, 1ul << (pageBits + 2));
_memory.IncrementReferenceCount();
// Some tests depends on hardcoded address that were computed for 4KiB.