diff options
| author | Cristallix <Cristallix@users.noreply.github.com> | 2020-04-20 23:59:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-21 07:59:59 +1000 |
| commit | 4738113f293ac2477a553225a24b6c489c6855f1 (patch) | |
| tree | 1878f27da3cc7e73171c7d905447f1eb9f25cefc /Ryujinx.HLE/Utilities | |
| parent | 91fa1debd4c5791a12733d75d7ce06a23a1547ff (diff) | |
Suppress warnings from fields never used or never assigned (CS0169 and CS0649) (#919)
* chore : disable unwanted warnings and minor code cleanup
* chore : remove more warnings
* fix : reorder struct correctly
* fix : restore _isKernel and remove useless comment
* fix : copy/paste error
* fix : restore CallMethod call
* fix : whitespace
* chore : clean using
* feat : remove warnings
* fix : simplify warning removal on struct
* fix : revert fields deletion and code clean up
* fix : re-add RE value
* fix : typo
Diffstat (limited to 'Ryujinx.HLE/Utilities')
| -rw-r--r-- | Ryujinx.HLE/Utilities/FontUtils.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/Utilities/FontUtils.cs b/Ryujinx.HLE/Utilities/FontUtils.cs index 3da0ef68..91cbdee7 100644 --- a/Ryujinx.HLE/Utilities/FontUtils.cs +++ b/Ryujinx.HLE/Utilities/FontUtils.cs @@ -8,7 +8,7 @@ namespace Ryujinx.HLE.Utilities public static byte[] DecryptFont(Stream bfttfStream) { - uint KXor(uint In) => In ^ 0x06186249; + uint KXor(uint In) => In ^ FontKey; using (BinaryReader reader = new BinaryReader(bfttfStream)) { |
