aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TextureManager.cs8
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TexturePool.cs2
2 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
index 6b11a671..993218ce 100644
--- a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
+++ b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
@@ -472,7 +472,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{
ulong address = _context.MemoryManager.Translate(copyTexture.Address.Pack());
- if (address == MemoryManager.BadAddress)
+ if (address == MemoryManager.PteUnmapped)
{
return null;
}
@@ -533,7 +533,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{
ulong address = _context.MemoryManager.Translate(colorState.Address.Pack());
- if (address == MemoryManager.BadAddress)
+ if (address == MemoryManager.PteUnmapped)
{
return null;
}
@@ -618,7 +618,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{
ulong address = _context.MemoryManager.Translate(dsState.Address.Pack());
- if (address == MemoryManager.BadAddress)
+ if (address == MemoryManager.PteUnmapped)
{
return null;
}
@@ -983,7 +983,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{
ulong address = _context.MemoryManager.Translate(cbp.DstAddress.Pack());
- if (address == MemoryManager.BadAddress)
+ if (address == MemoryManager.PteUnmapped)
{
return null;
}
diff --git a/Ryujinx.Graphics.Gpu/Image/TexturePool.cs b/Ryujinx.Graphics.Gpu/Image/TexturePool.cs
index 53d810b9..9c7e849b 100644
--- a/Ryujinx.Graphics.Gpu/Image/TexturePool.cs
+++ b/Ryujinx.Graphics.Gpu/Image/TexturePool.cs
@@ -54,7 +54,7 @@ namespace Ryujinx.Graphics.Gpu.Image
// Bad address. We can't add a texture with a invalid address
// to the cache.
- if (info.Address == MemoryManager.BadAddress)
+ if (info.Address == MemoryManager.PteUnmapped)
{
return null;
}