mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-25 06:29:14 +00:00
Revert "Structural and Memory Safety Improvements, Analyzer Cleanup (ryubing/ryujinx!47)"
This reverts merge request !47
This commit is contained in:
@@ -11,6 +11,7 @@ namespace Ryujinx.HLE.HOS.Services.Pctl.ParentalControlServiceFactory
|
||||
private readonly int _permissionFlag;
|
||||
private ulong _titleId;
|
||||
private ParentalControlFlagValue _parentalControlFlag;
|
||||
#pragma warning disable IDE0052, CS0414 // Remove unread private member
|
||||
private int[] _ratingAge;
|
||||
|
||||
// TODO: Find where they are set.
|
||||
@@ -19,6 +20,7 @@ namespace Ryujinx.HLE.HOS.Services.Pctl.ParentalControlServiceFactory
|
||||
private bool _freeCommunicationEnabled = false;
|
||||
private readonly bool _stereoVisionRestrictionConfigurable = true;
|
||||
private bool _stereoVisionRestriction = false;
|
||||
#pragma warning restore IDE0052, CS0414
|
||||
|
||||
public IParentalControlService(ServiceCtx context, ulong pid, bool withInitialize, int permissionFlag)
|
||||
{
|
||||
@@ -176,6 +178,7 @@ namespace Ryujinx.HLE.HOS.Services.Pctl.ParentalControlServiceFactory
|
||||
return ResultCode.PermissionDenied;
|
||||
}
|
||||
|
||||
#pragma warning disable // Remove unnecessary value assignment
|
||||
bool stereoVisionRestriction = false;
|
||||
|
||||
if (_stereoVisionRestrictionConfigurable)
|
||||
|
||||
Reference in New Issue
Block a user