Explorar el Código

Initialize FrontFace register with a default value (#601)

gdkchan hace 7 años
padre
commit
7ed2b4cc39
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs

+ 2 - 0
Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs

@@ -66,6 +66,8 @@ namespace Ryujinx.Graphics.Graphics3d
 
             WriteRegister(NvGpuEngine3dReg.FrameBufferSrgb, 1);
 
+            WriteRegister(NvGpuEngine3dReg.FrontFace, (int)GalFrontFace.CW);
+
             for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++)
             {
                 WriteRegister(NvGpuEngine3dReg.IBlendNEquationRgb   + Index * 8, (int)GalBlendEquation.FuncAdd);