forked from MeloNX/MeloNX
Random changes to try and lower memory
This commit is contained in:
parent
ace6616067
commit
ccf89aa324
@ -60,8 +60,6 @@ namespace ARMeilleure.Translation
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
ObjectDisposedException.ThrowIf(_disposed, this);
|
|
||||||
|
|
||||||
return _dispatchLoop.Value;
|
return _dispatchLoop.Value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
@ -66,8 +66,6 @@ namespace Ryujinx.Cpu.LightningJit
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
ObjectDisposedException.ThrowIf(_disposed, this);
|
|
||||||
|
|
||||||
return _dispatchLoop.Value;
|
return _dispatchLoop.Value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user