summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Morph2022-04-24 17:40:47 -0400
committerGravatar Morph2022-04-24 17:40:47 -0400
commit8eabdc058b8710c9209580572f632168bd469c34 (patch)
tree66b8e482ba79d68f50448a2848f6697e180115fe
parentMerge pull request #8249 from german77/queued (diff)
downloadyuzu-8eabdc058b8710c9209580572f632168bd469c34.tar.gz
yuzu-8eabdc058b8710c9209580572f632168bd469c34.tar.xz
yuzu-8eabdc058b8710c9209580572f632168bd469c34.zip
kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFF
Resolves the C4146 compiler warning on MSVC.
Diffstat (limited to '')
-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
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