mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-27 06:39:06 +00:00
Revert "Structural and Memory Safety Improvements, Analyzer Cleanup (ryubing/ryujinx!47)"
This reverts merge request !47
This commit is contained in:
@@ -21,7 +21,9 @@ namespace Ryujinx.HLE.HOS.Services.Nifm.StaticService
|
||||
private int _event0Handle;
|
||||
private int _event1Handle;
|
||||
|
||||
#pragma warning disable IDE0052 // Remove unread private member
|
||||
private readonly uint _version;
|
||||
#pragma warning restore IDE0052
|
||||
|
||||
public IRequest(Horizon system, uint version)
|
||||
{
|
||||
@@ -116,7 +118,9 @@ namespace Ryujinx.HLE.HOS.Services.Nifm.StaticService
|
||||
// GetAppletInfo(u32) -> (u32, u32, u32, buffer<bytes, 6>)
|
||||
public ResultCode GetAppletInfo(ServiceCtx context)
|
||||
{
|
||||
_ = context.RequestData.ReadUInt32(); // Theme color
|
||||
#pragma warning disable IDE0059 // Remove unnecessary value assignment
|
||||
uint themeColor = context.RequestData.ReadUInt32();
|
||||
#pragma warning restore IDE0059
|
||||
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceNifm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user