hos: Cleanup the project (#2634)
* hos: Cleanup the project Since a lot of changes has been done on the HOS project, there are some leftover here and there, or class just used in one service, things at wrong places, and more. This PR fixes that, additionnally to that, I've realigned some vars because I though it make the code more readable. * Address gdkchan feedback * addresses Thog feedback * Revert ElfSymbol
This commit is contained in:
@@ -8,13 +8,8 @@ namespace Ryujinx.HLE.Loaders.Elf
|
||||
public ElfSymbolBinding Binding { get; private set; }
|
||||
public ElfSymbolVisibility Visibility { get; private set; }
|
||||
|
||||
public bool IsFuncOrObject =>
|
||||
Type == ElfSymbolType.SttFunc ||
|
||||
Type == ElfSymbolType.SttObject;
|
||||
|
||||
public bool IsGlobalOrWeak =>
|
||||
Binding == ElfSymbolBinding.StbGlobal ||
|
||||
Binding == ElfSymbolBinding.StbWeak;
|
||||
public bool IsFuncOrObject => Type == ElfSymbolType.SttFunc || Type == ElfSymbolType.SttObject;
|
||||
public bool IsGlobalOrWeak => Binding == ElfSymbolBinding.StbGlobal || Binding == ElfSymbolBinding.StbWeak;
|
||||
|
||||
public int ShIdx { get; private set; }
|
||||
public ulong Value { get; private set; }
|
||||
|
@@ -11,4 +11,4 @@
|
||||
public ushort SectionIndex;
|
||||
#pragma warning restore CS0649
|
||||
}
|
||||
}
|
||||
}
|
@@ -11,4 +11,4 @@
|
||||
public ulong Size;
|
||||
#pragma warning restore CS0649
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user