diff options
author | Liam <byteslice@airmail.cc> | 2023-07-15 03:58:20 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-07-15 04:33:10 +0200 |
commit | 474db2d8dafebffc9a16dd3c9d1d21a63fdbeddd (patch) | |
tree | 288901313abc231a71faf3a95b24eabbca3a04d0 /src/core/hle/kernel/svc/svc_thread.cpp | |
parent | k_process: PageTable -> GetPageTable (diff) | |
download | yuzu-474db2d8dafebffc9a16dd3c9d1d21a63fdbeddd.tar yuzu-474db2d8dafebffc9a16dd3c9d1d21a63fdbeddd.tar.gz yuzu-474db2d8dafebffc9a16dd3c9d1d21a63fdbeddd.tar.bz2 yuzu-474db2d8dafebffc9a16dd3c9d1d21a63fdbeddd.tar.lz yuzu-474db2d8dafebffc9a16dd3c9d1d21a63fdbeddd.tar.xz yuzu-474db2d8dafebffc9a16dd3c9d1d21a63fdbeddd.tar.zst yuzu-474db2d8dafebffc9a16dd3c9d1d21a63fdbeddd.zip |
Diffstat (limited to 'src/core/hle/kernel/svc/svc_thread.cpp')
-rw-r--r-- | src/core/hle/kernel/svc/svc_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc/svc_thread.cpp b/src/core/hle/kernel/svc/svc_thread.cpp index d102e94a8..92bcea72b 100644 --- a/src/core/hle/kernel/svc/svc_thread.cpp +++ b/src/core/hle/kernel/svc/svc_thread.cpp @@ -236,7 +236,7 @@ Result GetThreadList(Core::System& system, s32* out_num_threads, u64 out_thread_ const auto total_copy_size = out_thread_ids_size * sizeof(u64); if (out_thread_ids_size > 0 && - !current_process->GetPageTable().IsInsideAddressSpace(out_thread_ids, total_copy_size)) { + !current_process->GetPageTable().Contains(out_thread_ids, total_copy_size)) { LOG_ERROR(Kernel_SVC, "Address range outside address space. begin=0x{:016X}, end=0x{:016X}", out_thread_ids, out_thread_ids + total_copy_size); R_THROW(ResultInvalidCurrentMemory); |