Remove unneeded ".this"
This commit is contained in:
parent
77972140a6
commit
267f82bd82
125 changed files with 303 additions and 303 deletions
|
@ -32,7 +32,7 @@ namespace Ryujinx.HLE.FileSystem.Content
|
|||
{ "FontNintendoExtended" , 0x0100000000000810 },
|
||||
};
|
||||
|
||||
this._device = device;
|
||||
_device = device;
|
||||
}
|
||||
|
||||
public void LoadEntries()
|
||||
|
|
|
@ -14,15 +14,15 @@ namespace Ryujinx.HLE.FileSystem.Content
|
|||
|
||||
public LocationEntry(string contentPath, int flag, long titleId, ContentType contentType)
|
||||
{
|
||||
this.ContentPath = contentPath;
|
||||
this.Flag = flag;
|
||||
this.TitleId = titleId;
|
||||
this.ContentType = contentType;
|
||||
ContentPath = contentPath;
|
||||
Flag = flag;
|
||||
TitleId = titleId;
|
||||
ContentType = contentType;
|
||||
}
|
||||
|
||||
public void SetFlag(int flag)
|
||||
{
|
||||
this.Flag = flag;
|
||||
Flag = flag;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,8 +15,8 @@ namespace Ryujinx.HLE.FileSystem
|
|||
|
||||
public FileSystemProvider(string basePath, string rootPath)
|
||||
{
|
||||
this._basePath = basePath;
|
||||
this._rootPath = rootPath;
|
||||
_basePath = basePath;
|
||||
_rootPath = rootPath;
|
||||
|
||||
CheckIfDescendentOfRootPath(basePath);
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Ryujinx.HLE.FileSystem
|
|||
|
||||
public PFsProvider(Pfs pfs)
|
||||
{
|
||||
this._pfs = pfs;
|
||||
_pfs = pfs;
|
||||
}
|
||||
|
||||
public long CreateDirectory(string name)
|
||||
|
|
|
@ -18,11 +18,11 @@ namespace Ryujinx.HLE.FileSystem
|
|||
UInt128 userId,
|
||||
SaveSpaceId saveSpaceId)
|
||||
{
|
||||
this.TitleId = titleId;
|
||||
this.UserId = userId;
|
||||
this.SaveId = saveId;
|
||||
this.SaveDataType = saveDataType;
|
||||
this.SaveSpaceId = saveSpaceId;
|
||||
TitleId = titleId;
|
||||
UserId = userId;
|
||||
SaveId = saveId;
|
||||
SaveDataType = saveDataType;
|
||||
SaveSpaceId = saveSpaceId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ArraySubscriptingExpression(BaseNode leftNode, BaseNode subscript) : base(NodeType.ArraySubscriptingExpression)
|
||||
{
|
||||
this._leftNode = leftNode;
|
||||
this._subscript = subscript;
|
||||
_leftNode = leftNode;
|
||||
_subscript = subscript;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,14 +10,14 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ArrayType(BaseNode Base, BaseNode dimensionExpression = null) : base(NodeType.ArrayType)
|
||||
{
|
||||
this._base = Base;
|
||||
this._dimensionExpression = dimensionExpression;
|
||||
_base = Base;
|
||||
_dimensionExpression = dimensionExpression;
|
||||
}
|
||||
|
||||
public ArrayType(BaseNode Base, string dimensionString) : base(NodeType.ArrayType)
|
||||
{
|
||||
this._base = Base;
|
||||
this._dimensionString = dimensionString;
|
||||
_base = Base;
|
||||
_dimensionString = dimensionString;
|
||||
}
|
||||
|
||||
public override bool HasRightPart()
|
||||
|
|
|
@ -64,7 +64,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public BaseNode(NodeType type)
|
||||
{
|
||||
this.Type = type;
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public virtual void Print(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public BinaryExpression(BaseNode leftPart, string name, BaseNode rightPart) : base(NodeType.BinaryExpression)
|
||||
{
|
||||
this._leftPart = leftPart;
|
||||
this._name = name;
|
||||
this._rightPart = rightPart;
|
||||
_leftPart = leftPart;
|
||||
_name = name;
|
||||
_rightPart = rightPart;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public BracedExpression(BaseNode element, BaseNode expression, bool isArrayExpression) : base(NodeType.BracedExpression)
|
||||
{
|
||||
this._element = element;
|
||||
this._expression = expression;
|
||||
this._isArrayExpression = isArrayExpression;
|
||||
_element = element;
|
||||
_expression = expression;
|
||||
_isArrayExpression = isArrayExpression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public BracedRangeExpression(BaseNode firstNode, BaseNode lastNode, BaseNode expression) : base(NodeType.BracedRangeExpression)
|
||||
{
|
||||
this._firstNode = firstNode;
|
||||
this._lastNode = lastNode;
|
||||
this._expression = expression;
|
||||
_firstNode = firstNode;
|
||||
_lastNode = lastNode;
|
||||
_expression = expression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CallExpression(BaseNode callee, List<BaseNode> nodes) : base(nodes, NodeType.CallExpression)
|
||||
{
|
||||
this._callee = callee;
|
||||
_callee = callee;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CastExpression(string kind, BaseNode to, BaseNode from) : base(NodeType.CastExpression)
|
||||
{
|
||||
this._kind = kind;
|
||||
this._to = to;
|
||||
this._from = from;
|
||||
_kind = kind;
|
||||
_to = to;
|
||||
_from = from;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ConditionalExpression(BaseNode conditionNode, BaseNode thenNode, BaseNode elseNode) : base(NodeType.ConditionalExpression)
|
||||
{
|
||||
this._thenNode = thenNode;
|
||||
this._conditionNode = conditionNode;
|
||||
this._elseNode = elseNode;
|
||||
_thenNode = thenNode;
|
||||
_conditionNode = conditionNode;
|
||||
_elseNode = elseNode;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ConversionExpression(BaseNode typeNode, BaseNode expressions) : base(NodeType.ConversionExpression)
|
||||
{
|
||||
this._typeNode = typeNode;
|
||||
this._expressions = expressions;
|
||||
_typeNode = typeNode;
|
||||
_expressions = expressions;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CtorDtorNameType(BaseNode name, bool isDestructor) : base(NodeType.CtorDtorNameType, name)
|
||||
{
|
||||
this._isDestructor = isDestructor;
|
||||
_isDestructor = isDestructor;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CtorVtableSpecialName(BaseNode firstType, BaseNode secondType) : base(NodeType.CtorVtableSpecialName)
|
||||
{
|
||||
this._firstType = firstType;
|
||||
this._secondType = secondType;
|
||||
_firstType = firstType;
|
||||
_secondType = secondType;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public DeleteExpression(BaseNode child, bool isGlobal, bool isArrayExpression) : base(NodeType.DeleteExpression, child)
|
||||
{
|
||||
this._isGlobal = isGlobal;
|
||||
this._isArrayExpression = isArrayExpression;
|
||||
_isGlobal = isGlobal;
|
||||
_isArrayExpression = isArrayExpression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ElaboratedType(string elaborated, BaseNode type) : base(NodeType.ElaboratedType, type)
|
||||
{
|
||||
this._elaborated = elaborated;
|
||||
_elaborated = elaborated;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public EnclosedExpression(string prefix, BaseNode expression, string postfix) : base(NodeType.EnclosedExpression)
|
||||
{
|
||||
this._prefix = prefix;
|
||||
this._expression = expression;
|
||||
this._postfix = postfix;
|
||||
_prefix = prefix;
|
||||
_expression = expression;
|
||||
_postfix = postfix;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -13,12 +13,12 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public EncodedFunction(BaseNode name, BaseNode Params, BaseNode cv, BaseNode Ref, BaseNode attrs, BaseNode ret) : base(NodeType.NameType)
|
||||
{
|
||||
this._name = name;
|
||||
this._params = Params;
|
||||
this._cv = cv;
|
||||
this._ref = Ref;
|
||||
this._attrs = attrs;
|
||||
this._ret = ret;
|
||||
_name = name;
|
||||
_params = Params;
|
||||
_cv = cv;
|
||||
_ref = Ref;
|
||||
_attrs = attrs;
|
||||
_ret = ret;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -11,10 +11,10 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public FoldExpression(bool isLeftFold, string operatorName, BaseNode expression, BaseNode initializer) : base(NodeType.FunctionParameter)
|
||||
{
|
||||
this._isLeftFold = isLeftFold;
|
||||
this._operatorName = operatorName;
|
||||
this._expression = expression;
|
||||
this._initializer = initializer;
|
||||
_isLeftFold = isLeftFold;
|
||||
_operatorName = operatorName;
|
||||
_expression = expression;
|
||||
_initializer = initializer;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ForwardTemplateReference(int index) : base(NodeType.ForwardTemplateReference)
|
||||
{
|
||||
this._index = index;
|
||||
_index = index;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public FunctionParameter(string number) : base(NodeType.FunctionParameter)
|
||||
{
|
||||
this._number = number;
|
||||
_number = number;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -12,11 +12,11 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public FunctionType(BaseNode returnType, BaseNode Params, BaseNode cvQualifier, SimpleReferenceType referenceQualifier, BaseNode exceptionSpec) : base(NodeType.FunctionType)
|
||||
{
|
||||
this._returnType = returnType;
|
||||
this._params = Params;
|
||||
this._cvQualifier = cvQualifier;
|
||||
this._referenceQualifier = referenceQualifier;
|
||||
this._exceptionSpec = exceptionSpec;
|
||||
_returnType = returnType;
|
||||
_params = Params;
|
||||
_cvQualifier = cvQualifier;
|
||||
_referenceQualifier = referenceQualifier;
|
||||
_exceptionSpec = exceptionSpec;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,8 +10,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public InitListExpression(BaseNode typeNode, List<BaseNode> nodes) : base(NodeType.InitListExpression)
|
||||
{
|
||||
this._typeNode = typeNode;
|
||||
this._nodes = nodes;
|
||||
_typeNode = typeNode;
|
||||
_nodes = nodes;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public IntegerCastExpression(BaseNode type, string number) : base(NodeType.IntegerCastExpression, type)
|
||||
{
|
||||
this._number = number;
|
||||
_number = number;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public IntegerLiteral(string literalName, string literalValue) : base(NodeType.IntegerLiteral)
|
||||
{
|
||||
this._literalValue = literalValue;
|
||||
this._literalName = literalName;
|
||||
_literalValue = literalValue;
|
||||
_literalName = literalName;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public LocalName(BaseNode encoding, BaseNode entity) : base(NodeType.LocalName)
|
||||
{
|
||||
this._encoding = encoding;
|
||||
this._entity = entity;
|
||||
_encoding = encoding;
|
||||
_entity = entity;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public MemberExpression(BaseNode leftNode, string kind, BaseNode rightNode) : base(NodeType.MemberExpression)
|
||||
{
|
||||
this._leftNode = leftNode;
|
||||
this._kind = kind;
|
||||
this._rightNode = rightNode;
|
||||
_leftNode = leftNode;
|
||||
_kind = kind;
|
||||
_rightNode = rightNode;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,12 +8,12 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NameType(string nameValue, NodeType type) : base(type)
|
||||
{
|
||||
this._nameValue = nameValue;
|
||||
_nameValue = nameValue;
|
||||
}
|
||||
|
||||
public NameType(string nameValue) : base(NodeType.NameType)
|
||||
{
|
||||
this._nameValue = nameValue;
|
||||
_nameValue = nameValue;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NameTypeWithTemplateArguments(BaseNode prev, BaseNode templateArgument) : base(NodeType.NameTypeWithTemplateArguments)
|
||||
{
|
||||
this._prev = prev;
|
||||
this._templateArgument = templateArgument;
|
||||
_prev = prev;
|
||||
_templateArgument = templateArgument;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NestedName(BaseNode name, BaseNode type) : base(NodeType.NestedName, type)
|
||||
{
|
||||
this._name = name;
|
||||
_name = name;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -13,12 +13,12 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NewExpression(NodeArray expressions, BaseNode typeNode, NodeArray initializers, bool isGlobal, bool isArrayExpression) : base(NodeType.NewExpression)
|
||||
{
|
||||
this._expressions = expressions;
|
||||
this._typeNode = typeNode;
|
||||
this._initializers = initializers;
|
||||
_expressions = expressions;
|
||||
_typeNode = typeNode;
|
||||
_initializers = initializers;
|
||||
|
||||
this._isGlobal = isGlobal;
|
||||
this._isArrayExpression = isArrayExpression;
|
||||
_isGlobal = isGlobal;
|
||||
_isArrayExpression = isArrayExpression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,12 +9,12 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NodeArray(List<BaseNode> nodes) : base(NodeType.NodeArray)
|
||||
{
|
||||
this.Nodes = nodes;
|
||||
Nodes = nodes;
|
||||
}
|
||||
|
||||
public NodeArray(List<BaseNode> nodes, NodeType type) : base(type)
|
||||
{
|
||||
this.Nodes = nodes;
|
||||
Nodes = nodes;
|
||||
}
|
||||
|
||||
public override bool IsArray()
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ParentNode(NodeType type, BaseNode child) : base(type)
|
||||
{
|
||||
this.Child = child;
|
||||
Child = child;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public PointerType(BaseNode child) : base(NodeType.PointerType)
|
||||
{
|
||||
this._child = child;
|
||||
_child = child;
|
||||
}
|
||||
|
||||
public override bool HasRightPart()
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public PostfixExpression(BaseNode type, string Operator) : base(NodeType.PostfixExpression, type)
|
||||
{
|
||||
this._operator = Operator;
|
||||
_operator = Operator;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public PostfixQualifiedType(string postfixQualifier, BaseNode type) : base(NodeType.PostfixQualifiedType, type)
|
||||
{
|
||||
this._postfixQualifier = postfixQualifier;
|
||||
_postfixQualifier = postfixQualifier;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public PrefixExpression(string prefix, BaseNode child) : base(NodeType.PrefixExpression, child)
|
||||
{
|
||||
this._prefix = prefix;
|
||||
_prefix = prefix;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public QualifiedName(BaseNode qualifier, BaseNode name) : base(NodeType.QualifiedName)
|
||||
{
|
||||
this._qualifier = qualifier;
|
||||
this._name = name;
|
||||
_qualifier = qualifier;
|
||||
_name = name;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CvType(Cv qualifier, BaseNode child) : base(NodeType.CvQualifierType, child)
|
||||
{
|
||||
this.Qualifier = qualifier;
|
||||
Qualifier = qualifier;
|
||||
}
|
||||
|
||||
public void PrintQualifier(TextWriter writer)
|
||||
|
@ -74,7 +74,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public SimpleReferenceType(Reference qualifier, BaseNode child) : base(NodeType.SimpleReferenceType, child)
|
||||
{
|
||||
this.Qualifier = qualifier;
|
||||
Qualifier = qualifier;
|
||||
}
|
||||
|
||||
public void PrintQualifier(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ReferenceType(string reference, BaseNode child) : base(NodeType.ReferenceType)
|
||||
{
|
||||
this._reference = reference;
|
||||
this._child = child;
|
||||
_reference = reference;
|
||||
_child = child;
|
||||
}
|
||||
|
||||
public override bool HasRightPart()
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public SpecialName(string specialValue, BaseNode type) : base(NodeType.SpecialName, type)
|
||||
{
|
||||
this._specialValue = specialValue;
|
||||
_specialValue = specialValue;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public SpecialSubstitution(SpecialType specialSubstitutionKey) : base(NodeType.SpecialSubstitution)
|
||||
{
|
||||
this._specialSubstitutionKey = specialSubstitutionKey;
|
||||
_specialSubstitutionKey = specialSubstitutionKey;
|
||||
}
|
||||
|
||||
public void SetExtended()
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ThrowExpression(BaseNode expression) : base(NodeType.ThrowExpression)
|
||||
{
|
||||
this._expression = expression;
|
||||
_expression = expression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler
|
|||
|
||||
public Demangler(string mangled)
|
||||
{
|
||||
this.Mangled = mangled;
|
||||
Mangled = mangled;
|
||||
_position = 0;
|
||||
_length = mangled.Length;
|
||||
_canParseTemplateArgs = true;
|
||||
|
|
|
@ -26,8 +26,8 @@ namespace Ryujinx.HLE.HOS.Font
|
|||
|
||||
public FontInfo(int offset, int size)
|
||||
{
|
||||
this.Offset = offset;
|
||||
this.Size = size;
|
||||
Offset = offset;
|
||||
Size = size;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,9 +35,9 @@ namespace Ryujinx.HLE.HOS.Font
|
|||
|
||||
public SharedFontManager(Switch device, long physicalAddress)
|
||||
{
|
||||
this._physicalAddress = physicalAddress;
|
||||
_physicalAddress = physicalAddress;
|
||||
|
||||
this._device = device;
|
||||
_device = device;
|
||||
|
||||
_fontsPath = Path.Combine(device.FileSystem.GetSystemPath(), "fonts");
|
||||
}
|
||||
|
|
|
@ -97,7 +97,7 @@ namespace Ryujinx.HLE.HOS
|
|||
|
||||
public Horizon(Switch device)
|
||||
{
|
||||
this.Device = device;
|
||||
Device = device;
|
||||
|
||||
State = new SystemStateMgr();
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace Ryujinx.HLE.HOS.Ipc
|
|||
|
||||
public IpcHandleDesc(int[] copy, int[] move, long pId) : this(copy, move)
|
||||
{
|
||||
this.PId = pId;
|
||||
PId = pId;
|
||||
|
||||
HasPId = true;
|
||||
}
|
||||
|
|
|
@ -24,8 +24,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public Image(long baseAddress, ElfSymbol[] symbols)
|
||||
{
|
||||
this.BaseAddress = baseAddress;
|
||||
this.Symbols = symbols;
|
||||
BaseAddress = baseAddress;
|
||||
Symbols = symbols;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public HleProcessDebugger(KProcess owner)
|
||||
{
|
||||
this._owner = owner;
|
||||
_owner = owner;
|
||||
|
||||
_images = new List<Image>();
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
{
|
||||
int selectedCount = 0;
|
||||
|
||||
for (int core = 0; core < KScheduler.CpuCoresCount; core++)
|
||||
for (int core = 0; core < CpuCoresCount; core++)
|
||||
{
|
||||
KCoreContext coreContext = CoreContexts[core];
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KAddressArbiter(Horizon system)
|
||||
{
|
||||
this._system = system;
|
||||
_system = system;
|
||||
|
||||
CondVarThreads = new List<KThread>();
|
||||
ArbiterThreads = new List<KThread>();
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KAutoObject(Horizon system)
|
||||
{
|
||||
this.System = system;
|
||||
System = system;
|
||||
}
|
||||
|
||||
public virtual KernelResult SetName(string name)
|
||||
|
|
|
@ -12,13 +12,13 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public void Initialize(KPort parent, int maxSessions)
|
||||
{
|
||||
this._maxSessions = maxSessions;
|
||||
this._parent = parent;
|
||||
_maxSessions = maxSessions;
|
||||
_parent = parent;
|
||||
}
|
||||
|
||||
public new static KernelResult RemoveName(Horizon system, string name)
|
||||
{
|
||||
KAutoObject foundObj = KAutoObject.FindNamedObject(system, name);
|
||||
KAutoObject foundObj = FindNamedObject(system, name);
|
||||
|
||||
if (!(foundObj is KClientPort))
|
||||
{
|
||||
|
|
|
@ -19,8 +19,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KCoreContext(KScheduler scheduler, HleCoreManager coreManager)
|
||||
{
|
||||
this._scheduler = scheduler;
|
||||
this._coreManager = coreManager;
|
||||
_scheduler = scheduler;
|
||||
_coreManager = coreManager;
|
||||
}
|
||||
|
||||
public void SelectThread(KThread thread)
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KCriticalSection(Horizon system)
|
||||
{
|
||||
this._system = system;
|
||||
_system = system;
|
||||
|
||||
LockObj = new object();
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KHandleEntry(int index)
|
||||
{
|
||||
this.Index = index;
|
||||
Index = index;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -22,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KHandleTable(Horizon system)
|
||||
{
|
||||
this._system = system;
|
||||
_system = system;
|
||||
}
|
||||
|
||||
public KernelResult Initialize(int size)
|
||||
|
@ -37,7 +37,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
size = 1024;
|
||||
}
|
||||
|
||||
this._size = size;
|
||||
_size = size;
|
||||
|
||||
_idCounter = 1;
|
||||
|
||||
|
|
|
@ -13,10 +13,10 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
KMemoryArrangeRegion applet,
|
||||
KMemoryArrangeRegion application)
|
||||
{
|
||||
this.Service = service;
|
||||
this.NvServices = nvServices;
|
||||
this.Applet = applet;
|
||||
this.Application = application;
|
||||
Service = service;
|
||||
NvServices = nvServices;
|
||||
Applet = applet;
|
||||
Application = application;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KMemoryArrangeRegion(ulong address, ulong size)
|
||||
{
|
||||
this.Address = address;
|
||||
this.Size = size;
|
||||
Address = address;
|
||||
Size = size;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -19,11 +19,11 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
MemoryPermission permission,
|
||||
MemoryAttribute attribute)
|
||||
{
|
||||
this.BaseAddress = baseAddress;
|
||||
this.PagesCount = pagesCount;
|
||||
this.State = state;
|
||||
this.Attribute = attribute;
|
||||
this.Permission = permission;
|
||||
BaseAddress = baseAddress;
|
||||
PagesCount = pagesCount;
|
||||
State = state;
|
||||
Attribute = attribute;
|
||||
Permission = permission;
|
||||
}
|
||||
|
||||
public KMemoryInfo GetInfo()
|
||||
|
|
|
@ -8,12 +8,12 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KMemoryBlockAllocator(ulong capacityElements)
|
||||
{
|
||||
this._capacityElements = capacityElements;
|
||||
_capacityElements = capacityElements;
|
||||
}
|
||||
|
||||
public bool CanAllocate(int count)
|
||||
{
|
||||
return (ulong)(this.Count + count) <= _capacityElements;
|
||||
return (ulong)(Count + count) <= _capacityElements;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -21,13 +21,13 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
int ipcRefCount,
|
||||
int deviceRefCount)
|
||||
{
|
||||
this.Address = address;
|
||||
this.Size = size;
|
||||
this.State = state;
|
||||
this.Attribute = attribute;
|
||||
this.Permission = permission;
|
||||
this.IpcRefCount = ipcRefCount;
|
||||
this.DeviceRefCount = deviceRefCount;
|
||||
Address = address;
|
||||
Size = size;
|
||||
State = state;
|
||||
Attribute = attribute;
|
||||
Permission = permission;
|
||||
IpcRefCount = ipcRefCount;
|
||||
DeviceRefCount = deviceRefCount;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -62,8 +62,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KMemoryManager(Horizon system, MemoryManager cpuMemory)
|
||||
{
|
||||
this._system = system;
|
||||
this._cpuMemory = cpuMemory;
|
||||
_system = system;
|
||||
_cpuMemory = cpuMemory;
|
||||
|
||||
_blocks = new LinkedList<KMemoryBlock>();
|
||||
}
|
||||
|
@ -218,12 +218,12 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
ulong aslrMaxOffset = mapAvailableSize - mapTotalSize;
|
||||
|
||||
this._aslrEnabled = aslrEnabled;
|
||||
_aslrEnabled = aslrEnabled;
|
||||
|
||||
this.AddrSpaceStart = addrSpaceStart;
|
||||
this.AddrSpaceEnd = addrSpaceEnd;
|
||||
AddrSpaceStart = addrSpaceStart;
|
||||
AddrSpaceEnd = addrSpaceEnd;
|
||||
|
||||
this._blockAllocator = blockAllocator;
|
||||
_blockAllocator = blockAllocator;
|
||||
|
||||
if (mapAvailableSize < mapTotalSize)
|
||||
{
|
||||
|
@ -287,8 +287,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
_heapCapacity = 0;
|
||||
PhysicalMemoryUsage = 0;
|
||||
|
||||
this._memRegion = memRegion;
|
||||
this._aslrDisabled = aslrDisabled;
|
||||
_memRegion = memRegion;
|
||||
_aslrDisabled = aslrDisabled;
|
||||
|
||||
return InitializeBlocks(addrSpaceStart, addrSpaceEnd);
|
||||
}
|
||||
|
|
|
@ -18,9 +18,9 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
{
|
||||
_blocks = new KMemoryRegionBlock[BlockOrders.Length];
|
||||
|
||||
this.Address = address;
|
||||
this.Size = size;
|
||||
this.EndAddr = endAddr;
|
||||
Address = address;
|
||||
Size = size;
|
||||
EndAddr = endAddr;
|
||||
|
||||
_blockOrdersCount = BlockOrders.Length;
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KPageNode(ulong address, ulong pagesCount)
|
||||
{
|
||||
this.Address = address;
|
||||
this.PagesCount = pagesCount;
|
||||
Address = address;
|
||||
PagesCount = pagesCount;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -19,8 +19,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
ServerPort.Initialize(this);
|
||||
ClientPort.Initialize(this, maxSessions);
|
||||
|
||||
this._isLight = isLight;
|
||||
this._nameAddress = nameAddress;
|
||||
_isLight = isLight;
|
||||
_nameAddress = nameAddress;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -120,8 +120,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
KResourceLimit resourceLimit,
|
||||
MemoryRegion memRegion)
|
||||
{
|
||||
this.ResourceLimit = resourceLimit;
|
||||
this._memRegion = memRegion;
|
||||
ResourceLimit = resourceLimit;
|
||||
_memRegion = memRegion;
|
||||
|
||||
AddressSpaceType addrSpaceType = (AddressSpaceType)((creationInfo.MmuFlags >> 1) & 7);
|
||||
|
||||
|
@ -190,8 +190,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
KResourceLimit resourceLimit,
|
||||
MemoryRegion memRegion)
|
||||
{
|
||||
this.ResourceLimit = resourceLimit;
|
||||
this._memRegion = memRegion;
|
||||
ResourceLimit = resourceLimit;
|
||||
_memRegion = memRegion;
|
||||
|
||||
ulong personalMmHeapSize = GetPersonalMmHeapSize((ulong)creationInfo.PersonalMmHeapPagesCount, memRegion);
|
||||
|
||||
|
@ -375,7 +375,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
return result;
|
||||
}
|
||||
|
||||
this.UserExceptionContextAddress = userExceptionContextAddress;
|
||||
UserExceptionContextAddress = userExceptionContextAddress;
|
||||
|
||||
MemoryHelper.FillWithZeros(CpuMemory, (long)userExceptionContextAddress, KTlsPageInfo.TlsEntrySize);
|
||||
|
||||
|
|
|
@ -246,7 +246,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
return KernelResult.ReservedValue;
|
||||
}
|
||||
|
||||
this.ApplicationType = applicationType;
|
||||
ApplicationType = applicationType;
|
||||
|
||||
break;
|
||||
}
|
||||
|
@ -273,7 +273,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
return KernelResult.ReservedValue;
|
||||
}
|
||||
|
||||
this.HandleTableSize = handleTableSize;
|
||||
HandleTableSize = handleTableSize;
|
||||
|
||||
break;
|
||||
}
|
||||
|
@ -287,8 +287,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
return KernelResult.ReservedValue;
|
||||
}
|
||||
|
||||
this.DebuggingFlags &= ~3;
|
||||
this.DebuggingFlags |= debuggingFlags;
|
||||
DebuggingFlags &= ~3;
|
||||
DebuggingFlags |= debuggingFlags;
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KReadableEvent(Horizon system, KEvent parent) : base(system)
|
||||
{
|
||||
this._parent = parent;
|
||||
_parent = parent;
|
||||
}
|
||||
|
||||
public override void Signal()
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
_waitingThreads = new LinkedList<KThread>();
|
||||
|
||||
this._system = system;
|
||||
_system = system;
|
||||
}
|
||||
|
||||
public bool Reserve(LimitableResource resource, ulong amount)
|
||||
|
@ -127,7 +127,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
{
|
||||
if (_current[index] <= limit)
|
||||
{
|
||||
this._limit[index] = limit;
|
||||
_limit[index] = limit;
|
||||
|
||||
return KernelResult.Success;
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KScheduler(Horizon system)
|
||||
{
|
||||
this._system = system;
|
||||
_system = system;
|
||||
|
||||
SchedulingData = new KSchedulingData();
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public void Initialize(KPort parent)
|
||||
{
|
||||
this._parent = parent;
|
||||
_parent = parent;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,8 +11,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KSession(IpcService service, string serviceName)
|
||||
{
|
||||
this.Service = service;
|
||||
this.ServiceName = serviceName;
|
||||
Service = service;
|
||||
ServiceName = serviceName;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
|
@ -17,10 +17,10 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
MemoryPermission ownerPermission,
|
||||
MemoryPermission userPermission)
|
||||
{
|
||||
this._pageList = pageList;
|
||||
this._ownerPid = ownerPid;
|
||||
this._ownerPermission = ownerPermission;
|
||||
this._userPermission = userPermission;
|
||||
_pageList = pageList;
|
||||
_ownerPid = ownerPid;
|
||||
_ownerPermission = ownerPermission;
|
||||
_userPermission = userPermission;
|
||||
}
|
||||
|
||||
public KernelResult MapIntoProcess(
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KSynchronization(Horizon system)
|
||||
{
|
||||
this._system = system;
|
||||
_system = system;
|
||||
}
|
||||
|
||||
public long WaitFor(KSynchronizationObject[] syncObjs, long timeout, ref int hndIndex)
|
||||
|
|
|
@ -115,7 +115,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
ObjSyncResult = 0x7201;
|
||||
|
||||
this._entrypoint = entrypoint;
|
||||
_entrypoint = entrypoint;
|
||||
|
||||
if (type == ThreadType.User)
|
||||
{
|
||||
|
@ -131,7 +131,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
if (owner != null)
|
||||
{
|
||||
this.Owner = owner;
|
||||
Owner = owner;
|
||||
|
||||
owner.IncrementThreadCount();
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public long TimePoint { get; private set; }
|
||||
|
||||
public WaitingObject(IKFutureSchedulerObject Object, long timePoint)
|
||||
public WaitingObject(IKFutureSchedulerObject schedulerObj, long timePoint)
|
||||
{
|
||||
this.Object = Object;
|
||||
this.TimePoint = timePoint;
|
||||
Object = schedulerObj;
|
||||
TimePoint = timePoint;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,13 +38,13 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
work.Start();
|
||||
}
|
||||
|
||||
public void ScheduleFutureInvocation(IKFutureSchedulerObject Object, long timeout)
|
||||
public void ScheduleFutureInvocation(IKFutureSchedulerObject schedulerObj, long timeout)
|
||||
{
|
||||
long timePoint = PerformanceCounter.ElapsedMilliseconds + ConvertNanosecondsToMilliseconds(timeout);
|
||||
|
||||
lock (_waitingObjects)
|
||||
{
|
||||
_waitingObjects.Add(new WaitingObject(Object, timePoint));
|
||||
_waitingObjects.Add(new WaitingObject(schedulerObj, timePoint));
|
||||
}
|
||||
|
||||
_waitEvent.Set();
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KTlsPageInfo(ulong pageAddress)
|
||||
{
|
||||
this.PageAddr = pageAddress;
|
||||
PageAddr = pageAddress;
|
||||
|
||||
_isSlotFree = new bool[KMemoryManager.PageSize / TlsEntrySize];
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KTlsPageManager(long pagePosition)
|
||||
{
|
||||
this._pagePosition = pagePosition;
|
||||
_pagePosition = pagePosition;
|
||||
|
||||
_slots = new bool[KMemoryManager.PageSize / TlsEntrySize];
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KTransferMemory(ulong address, ulong size)
|
||||
{
|
||||
this.Address = address;
|
||||
this.Size = size;
|
||||
Address = address;
|
||||
Size = size;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
|
||||
public KWritableEvent(KEvent parent)
|
||||
{
|
||||
this._parent = parent;
|
||||
_parent = parent;
|
||||
}
|
||||
|
||||
public void Signal()
|
||||
|
|
|
@ -24,14 +24,14 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
int resourceLimitHandle,
|
||||
int personalMmHeapPagesCount)
|
||||
{
|
||||
this.Name = name;
|
||||
this.Category = category;
|
||||
this.TitleId = titleId;
|
||||
this.CodeAddress = codeAddress;
|
||||
this.CodePagesCount = codePagesCount;
|
||||
this.MmuFlags = mmuFlags;
|
||||
this.ResourceLimitHandle = resourceLimitHandle;
|
||||
this.PersonalMmHeapPagesCount = personalMmHeapPagesCount;
|
||||
Name = name;
|
||||
Category = category;
|
||||
TitleId = titleId;
|
||||
CodeAddress = codeAddress;
|
||||
CodePagesCount = codePagesCount;
|
||||
MmuFlags = mmuFlags;
|
||||
ResourceLimitHandle = resourceLimitHandle;
|
||||
PersonalMmHeapPagesCount = personalMmHeapPagesCount;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -32,10 +32,10 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
IpcMessage message,
|
||||
long messagePtr)
|
||||
{
|
||||
this.Thread = thread;
|
||||
this.Session = session;
|
||||
this.Message = message;
|
||||
this.MessagePtr = messagePtr;
|
||||
Thread = thread;
|
||||
Session = session;
|
||||
Message = message;
|
||||
MessagePtr = messagePtr;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -93,10 +93,10 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
{ 0x71, ManageNamedPort64 }
|
||||
};
|
||||
|
||||
this._device = device;
|
||||
this._process = process;
|
||||
this._system = device.System;
|
||||
this._memory = process.CpuMemory;
|
||||
_device = device;
|
||||
_process = process;
|
||||
_system = device.System;
|
||||
_memory = process.CpuMemory;
|
||||
}
|
||||
|
||||
public void SvcCall(object sender, InstExceptionEventArgs e)
|
||||
|
|
|
@ -26,14 +26,14 @@ namespace Ryujinx.HLE.HOS
|
|||
BinaryReader requestData,
|
||||
BinaryWriter responseData)
|
||||
{
|
||||
this.Device = device;
|
||||
this.Process = process;
|
||||
this.Memory = memory;
|
||||
this.Session = session;
|
||||
this.Request = request;
|
||||
this.Response = response;
|
||||
this.RequestData = requestData;
|
||||
this.ResponseData = responseData;
|
||||
Device = device;
|
||||
Process = process;
|
||||
Memory = memory;
|
||||
Session = session;
|
||||
Request = request;
|
||||
Response = response;
|
||||
RequestData = requestData;
|
||||
ResponseData = responseData;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -21,7 +21,7 @@ namespace Ryujinx.HLE.HOS.Services.Acc
|
|||
{ 1, GetAccountId }
|
||||
};
|
||||
|
||||
this._uuid = uuid;
|
||||
_uuid = uuid;
|
||||
}
|
||||
|
||||
// CheckAvailability()
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace Ryujinx.HLE.HOS.Services.Acc
|
|||
{ 11, LoadImage },
|
||||
};
|
||||
|
||||
this._profile = profile;
|
||||
_profile = profile;
|
||||
|
||||
_profilePictureStream = Assembly.GetCallingAssembly().GetManifestResourceStream("Ryujinx.HLE.RyujinxProfileImage.jpg");
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
|
|||
{ 0, Open }
|
||||
};
|
||||
|
||||
this.Data = data;
|
||||
Data = data;
|
||||
}
|
||||
|
||||
public long Open(ServiceCtx context)
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
|
|||
{ 11, Read }
|
||||
};
|
||||
|
||||
this._storage = storage;
|
||||
_storage = storage;
|
||||
}
|
||||
|
||||
public long GetSize(ServiceCtx context)
|
||||
|
|
|
@ -34,9 +34,9 @@ namespace Ryujinx.HLE.HOS.Services.Aud.AudioOut
|
|||
{ 8, GetReleasedAudioOutBufferAuto }
|
||||
};
|
||||
|
||||
this._audioOut = audioOut;
|
||||
this._releaseEvent = releaseEvent;
|
||||
this._track = track;
|
||||
_audioOut = audioOut;
|
||||
_releaseEvent = releaseEvent;
|
||||
_track = track;
|
||||
}
|
||||
|
||||
public long GetAudioOutState(ServiceCtx context)
|
||||
|
|
|
@ -62,9 +62,9 @@ namespace Ryujinx.HLE.HOS.Services.Aud.AudioRenderer
|
|||
|
||||
_updateEvent = new KEvent(system);
|
||||
|
||||
this._memory = memory;
|
||||
this._audioOut = audioOut;
|
||||
this._params = Params;
|
||||
_memory = memory;
|
||||
_audioOut = audioOut;
|
||||
_params = Params;
|
||||
|
||||
_track = audioOut.OpenTrack(
|
||||
AudioConsts.HostSampleRate,
|
||||
|
|
|
@ -27,8 +27,8 @@ namespace Ryujinx.HLE.HOS.Services.Aud
|
|||
{ 4, DecodeInterleavedWithPerf }
|
||||
};
|
||||
|
||||
this._sampleRate = sampleRate;
|
||||
this._channelsCount = channelsCount;
|
||||
_sampleRate = sampleRate;
|
||||
_channelsCount = channelsCount;
|
||||
|
||||
_decoder = new OpusDecoder(FixedSampleRate, channelsCount);
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ namespace Ryujinx.HLE.HOS.Services.Bsd
|
|||
{ 27, DuplicateSocket },
|
||||
};
|
||||
|
||||
this._isPrivileged = isPrivileged;
|
||||
_isPrivileged = isPrivileged;
|
||||
}
|
||||
|
||||
private LinuxError ConvertError(WsaError errorCode)
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
|
||||
public PollEvent(int socketFd, BsdSocket socket, EventTypeMask inputEvents, EventTypeMask outputEvents)
|
||||
{
|
||||
this.SocketFd = socketFd;
|
||||
this.Socket = socket;
|
||||
this.InputEvents = inputEvents;
|
||||
this.OutputEvents = outputEvents;
|
||||
SocketFd = socketFd;
|
||||
Socket = socket;
|
||||
InputEvents = inputEvents;
|
||||
OutputEvents = outputEvents;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,9 +13,9 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
|
||||
public DirectoryEntry(string path, DirectoryEntryType directoryEntryType, long size = 0)
|
||||
{
|
||||
this.Path = path;
|
||||
Path = path;
|
||||
EntryType = directoryEntryType;
|
||||
this.Size = size;
|
||||
Size = size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,8 +33,8 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
{ 1, GetEntryCount }
|
||||
};
|
||||
|
||||
this._provider = provider;
|
||||
this.DirectoryPath = directoryPath;
|
||||
_provider = provider;
|
||||
DirectoryPath = directoryPath;
|
||||
|
||||
_directoryEntries = new List<DirectoryEntry>();
|
||||
|
||||
|
|
|
@ -28,8 +28,8 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
{ 4, GetSize }
|
||||
};
|
||||
|
||||
this._baseStream = baseStream;
|
||||
this.HostPath = hostPath;
|
||||
_baseStream = baseStream;
|
||||
HostPath = hostPath;
|
||||
}
|
||||
|
||||
// Read(u32, u64 offset, u64 size) -> (u64 out_size, buffer<u8, 0x46, 0> out_buf)
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
|
||||
_openPaths = new HashSet<string>();
|
||||
|
||||
this._path = path;
|
||||
this._provider = provider;
|
||||
_path = path;
|
||||
_provider = provider;
|
||||
}
|
||||
|
||||
// CreateFile(u32 mode, u64 size, buffer<bytes<0x301>, 0x19, 0x301> path)
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
{ 0, Read }
|
||||
};
|
||||
|
||||
this._baseStream = baseStream;
|
||||
_baseStream = baseStream;
|
||||
}
|
||||
|
||||
// Read(u64 offset, u64 length) -> buffer<u8, 0x46, 0> buffer
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue