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