Temporary force to 4k

This commit is contained in:
riperiperi 2024-01-21 20:38:17 +00:00
parent 10ee46744b
commit c97686924b
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ namespace Ryujinx.Cpu.Jit
{ {
class AddressSpacePartitioned : IDisposable class AddressSpacePartitioned : IDisposable
{ {
public static readonly bool Use4KBProtection = false; public static readonly bool Use4KBProtection = true;
private const int PartitionBits = 25; private const int PartitionBits = 25;
private const ulong PartitionSize = 1UL << PartitionBits; private const ulong PartitionSize = 1UL << PartitionBits;

View File

@ -1628,7 +1628,7 @@ namespace Ryujinx.Graphics.Gpu.Image
// on those platforms. // on those platforms.
if (!_physicalMemory.Supports4KBPages && !Storage.Info.IsLinear && !_context.IsGpuThread()) if (!_physicalMemory.Supports4KBPages && !Storage.Info.IsLinear && !_context.IsGpuThread())
{ {
return; //return;
} }
// If size is zero, we have nothing to flush. // If size is zero, we have nothing to flush.