diff options
author | Mai M <mathew1800@gmail.com> | 2022-04-24 18:25:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 18:25:00 -0400 |
commit | a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8 (patch) | |
tree | 5a399bf5c4365d1451c2b488fe3f2b81e7ae704d /src | |
parent | 9d642539167f8429359670f6d4476d46ff8982ad (diff) | |
parent | 8eabdc058b8710c9209580572f632168bd469c34 (diff) |
Merge pull request #8260 from Morph1984/c4146
kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFF
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); |