Kaynağa Gözat

Removed extra semicolons. (#3594)

Nicholas Rodine 3 yıl önce
ebeveyn
işleme
2197f41506

+ 1 - 1
Ryujinx.Common/SystemInfo/MacOSSystemInfo.cs

@@ -24,7 +24,7 @@ namespace Ryujinx.Common.SystemInfo
             if (sysctlbyname("hw.memsize", ref totalRAM) != 0)  // Bytes
             {
                 totalRAM = 0;
-            };
+            }
 
             CpuName = $"{cpuName} ; {LogicalCoreCount} logical";
             RamTotal = totalRAM;

+ 1 - 1
Ryujinx.Graphics.Nvdec.Vp9/DecodeFrame.cs

@@ -1187,7 +1187,7 @@ namespace Ryujinx.Graphics.Nvdec.Vp9
                         if (cm.Mb.Corrupted)
                         {
                             cm.Error.InternalError(CodecErr.CodecCorruptFrame, "Failed to decode tile data");
-                        };
+                        }
                     }
                 }
             }

+ 1 - 1
Ryujinx.Graphics.Shader/TextureFormat.cs

@@ -120,7 +120,7 @@ namespace Ryujinx.Graphics.Shader
                 case TextureFormat.R16G16B16A16Sint:
                 case TextureFormat.R32G32B32A32Sint:
                     return VariableType.S32;
-            };
+            }
 
             return VariableType.F32;
         }

+ 1 - 1
Ryujinx.Graphics.Vulkan/Shader.cs

@@ -131,7 +131,7 @@ namespace Ryujinx.Graphics.Vulkan
                     return ShaderKind.GlslFragmentShader;
                 case ShaderStage.Compute:
                     return ShaderKind.GlslComputeShader;
-            };
+            }
 
             Logger.Debug?.Print(LogClass.Gpu, $"Invalid {nameof(ShaderStage)} enum value: {stage}.");
 

+ 1 - 1
Ryujinx.Graphics.Vulkan/TextureBuffer.cs

@@ -111,7 +111,7 @@ namespace Ryujinx.Graphics.Vulkan
             _offset = buffer.Offset;
             _size = buffer.Size;
 
-            ReleaseImpl();;
+            ReleaseImpl();
         }
 
         public BufferView GetBufferView(CommandBufferScoped cbs)

+ 2 - 2
Ryujinx.HLE/FileSystem/ContentManager.cs

@@ -766,7 +766,7 @@ namespace Ryujinx.HLE.FileSystem
                                 metaEntries = meta.MetaEntries;
 
                                 updateNcas.Remove(SystemUpdateTitleId);
-                            };
+                            }
                         }
                     }
 
@@ -905,7 +905,7 @@ namespace Ryujinx.HLE.FileSystem
                             {
                                 metaEntries = meta.MetaEntries;
                             }
-                        };
+                        }
 
                         continue;
                     }