Просмотр исходного кода

Initialize FrontFace register with a default value (#601)

gdkchan 7 лет назад
Родитель
Сommit
7ed2b4cc39
1 измененных файлов с 2 добавлено и 0 удалено
  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.FrameBufferSrgb, 1);
 
 
+            WriteRegister(NvGpuEngine3dReg.FrontFace, (int)GalFrontFace.CW);
+
             for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++)
             for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++)
             {
             {
                 WriteRegister(NvGpuEngine3dReg.IBlendNEquationRgb   + Index * 8, (int)GalBlendEquation.FuncAdd);
                 WriteRegister(NvGpuEngine3dReg.IBlendNEquationRgb   + Index * 8, (int)GalBlendEquation.FuncAdd);