aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/ShaderDumper.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2019-01-31 09:43:24 -0300
committerGitHub <noreply@github.com>2019-01-31 09:43:24 -0300
commite10ff17e2d87b818d340947367d2d1a4276a0d06 (patch)
tree3b07aa92c5d8acff81d43ddb1ded48c4c7917b72 /Ryujinx.Graphics/Gal/ShaderDumper.cs
parentc81abdde4c48c607669580ef769776623b86dcc7 (diff)
Initial support for shader half float instructions (#507)
Diffstat (limited to 'Ryujinx.Graphics/Gal/ShaderDumper.cs')
-rw-r--r--Ryujinx.Graphics/Gal/ShaderDumper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gal/ShaderDumper.cs b/Ryujinx.Graphics/Gal/ShaderDumper.cs
index d3bcbf0d..21e92491 100644
--- a/Ryujinx.Graphics/Gal/ShaderDumper.cs
+++ b/Ryujinx.Graphics/Gal/ShaderDumper.cs
@@ -39,7 +39,7 @@ namespace Ryujinx.Graphics.Gal
ulong Instruction = 0;
//Dump until a NOP instruction is found
- while ((Instruction >> 52 & 0xfff8) != 0x50b0)
+ while ((Instruction >> 48 & 0xfff8) != 0x50b0)
{
uint Word0 = (uint)Memory.ReadInt32(Position + 0x50 + Offset + 0);
uint Word1 = (uint)Memory.ReadInt32(Position + 0x50 + Offset + 4);