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

View File

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

View File

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

View File

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