diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-04-24 23:40:47 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-04-24 23:40:47 +0200 |
commit | 8eabdc058b8710c9209580572f632168bd469c34 (patch) | |
tree | 66b8e482ba79d68f50448a2848f6697e180115fe /src/core | |
parent | Merge pull request #8249 from german77/queued (diff) | |
download | yuzu-8eabdc058b8710c9209580572f632168bd469c34.tar yuzu-8eabdc058b8710c9209580572f632168bd469c34.tar.gz yuzu-8eabdc058b8710c9209580572f632168bd469c34.tar.bz2 yuzu-8eabdc058b8710c9209580572f632168bd469c34.tar.lz yuzu-8eabdc058b8710c9209580572f632168bd469c34.tar.xz yuzu-8eabdc058b8710c9209580572f632168bd469c34.tar.zst yuzu-8eabdc058b8710c9209580572f632168bd469c34.zip |
Diffstat (limited to 'src/core')
-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); |