mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-22 14:42:54 +00:00
Structural and Memory Safety Improvements, Analyzer Cleanup (ryubing/ryujinx!47)
See merge request ryubing/ryujinx!47
This commit is contained in:
@@ -9,8 +9,8 @@ namespace Ryujinx.Common.Utilities
|
||||
[StructLayout(LayoutKind.Sequential, Size = 16)]
|
||||
public struct Buffer16
|
||||
{
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)] private readonly ulong _dummy0;
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)] private readonly ulong _dummy1;
|
||||
public ulong Low { get; set; }
|
||||
public ulong High { get; set; }
|
||||
|
||||
public byte this[int i]
|
||||
{
|
||||
|
||||
@@ -241,7 +241,7 @@ namespace Ryujinx.Common.Utilities
|
||||
|
||||
public IndentedStringBuilder Append(object value)
|
||||
{
|
||||
this.Append(value.ToString());
|
||||
Append(value.ToString());
|
||||
|
||||
return this;
|
||||
}
|
||||
@@ -271,7 +271,7 @@ namespace Ryujinx.Common.Utilities
|
||||
{
|
||||
_builder.Append(value);
|
||||
|
||||
this.AppendLine();
|
||||
AppendLine();
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace Ryujinx.Common.Utilities
|
||||
CyclingEnabled = false;
|
||||
}
|
||||
|
||||
|
||||
public static float Speed { get; set; } = 1;
|
||||
|
||||
private static readonly Lock _lock = new();
|
||||
|
||||
Reference in New Issue
Block a user