mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-09 06:45:46 +00:00
Structural and Memory Safety Improvements, Analyzer Cleanup (ryubing/ryujinx!47)
See merge request ryubing/ryujinx!47
This commit is contained in:
@@ -214,10 +214,8 @@ namespace Ryujinx.HLE.HOS.Services.Sm
|
||||
|
||||
context.RequestData.BaseStream.Seek(namePosition + 8, SeekOrigin.Begin);
|
||||
|
||||
#pragma warning disable IDE0059 // Remove unnecessary value assignment
|
||||
bool isLight = (context.RequestData.ReadInt32() & 1) != 0;
|
||||
int maxSessions = context.RequestData.ReadInt32();
|
||||
#pragma warning restore IDE0059
|
||||
_ = (context.RequestData.ReadInt32() & 1) != 0; // is light
|
||||
_ = context.RequestData.ReadInt32(); // max sessions
|
||||
|
||||
if (string.IsNullOrEmpty(name))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user