diff options
| author | 2022-04-24 18:25:00 -0400 | |
|---|---|---|
| committer | 2022-04-24 18:25:00 -0400 | |
| commit | a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8 (patch) | |
| tree | 5a399bf5c4365d1451c2b488fe3f2b81e7ae704d /src | |
| parent | Merge pull request #8257 from merryhime/rm-PrepareReschedule (diff) | |
| parent | kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFF (diff) | |
| download | yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.tar.gz yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.tar.xz yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.zip | |
Merge pull request #8260 from Morph1984/c4146
kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFF
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index f9c72d160..66e0ce2d0 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -899,7 +899,7 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, Handle | |||
| 899 | 899 | ||
| 900 | // Verify the requested core is valid. | 900 | // Verify the requested core is valid. |
| 901 | const bool core_valid = | 901 | const bool core_valid = |
| 902 | (info_sub_id == static_cast<u64>(-1ULL)) || | 902 | (info_sub_id == 0xFFFFFFFFFFFFFFFF) || |
| 903 | (info_sub_id == static_cast<u64>(system.Kernel().CurrentPhysicalCoreIndex())); | 903 | (info_sub_id == static_cast<u64>(system.Kernel().CurrentPhysicalCoreIndex())); |
| 904 | R_UNLESS(core_valid, ResultInvalidCombination); | 904 | R_UNLESS(core_valid, ResultInvalidCombination); |
| 905 | 905 | ||