diff options
author | Mai M <mathew1800@gmail.com> | 2022-04-25 00:25:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 00:25:00 +0200 |
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 yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.tar.gz yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.tar.bz2 yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.tar.lz yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.tar.xz yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.tar.zst yuzu-a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8.zip |
Diffstat (limited to 'src')
-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 // Verify the requested core is valid. const bool core_valid = - (info_sub_id == static_cast<u64>(-1ULL)) || + (info_sub_id == 0xFFFFFFFFFFFFFFFF) || (info_sub_id == static_cast<u64>(system.Kernel().CurrentPhysicalCoreIndex())); R_UNLESS(core_valid, ResultInvalidCombination); |