summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-04-24 23:40:47 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-04-24 23:40:47 +0200
commit8eabdc058b8710c9209580572f632168bd469c34 (patch)
tree66b8e482ba79d68f50448a2848f6697e180115fe
parentMerge pull request #8249 from german77/queued (diff)
downloadyuzu-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
-rw-r--r--src/core/hle/kernel/svc.cpp2
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);