diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-07 22:01:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 22:01:40 +0200 |
commit | d490f6dcf823b3aac4610560ba7557f5c8def3f8 (patch) | |
tree | c39f6930eeab1e679e5af860ca0917afc9859251 | |
parent | Merge pull request #6161 from Morph1984/audio-update-12.x (diff) | |
parent | process_capability: Handle extended SVC range (diff) | |
download | yuzu-d490f6dcf823b3aac4610560ba7557f5c8def3f8.tar yuzu-d490f6dcf823b3aac4610560ba7557f5c8def3f8.tar.gz yuzu-d490f6dcf823b3aac4610560ba7557f5c8def3f8.tar.bz2 yuzu-d490f6dcf823b3aac4610560ba7557f5c8def3f8.tar.lz yuzu-d490f6dcf823b3aac4610560ba7557f5c8def3f8.tar.xz yuzu-d490f6dcf823b3aac4610560ba7557f5c8def3f8.tar.zst yuzu-d490f6dcf823b3aac4610560ba7557f5c8def3f8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/process_capability.cpp | 5 | ||||
-rw-r--r-- | src/core/hle/kernel/process_capability.h | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/core/hle/kernel/process_capability.cpp b/src/core/hle/kernel/process_capability.cpp index 3fc326eab..1006ee50c 100644 --- a/src/core/hle/kernel/process_capability.cpp +++ b/src/core/hle/kernel/process_capability.cpp @@ -281,11 +281,6 @@ ResultCode ProcessCapabilities::HandleSyscallFlags(u32& set_svc_bits, u32 flags) continue; } - if (svc_number >= svc_capabilities.size()) { - LOG_ERROR(Kernel, "Process svc capability is out of range! svc_number={}", svc_number); - return ResultOutOfRange; - } - svc_capabilities[svc_number] = true; } diff --git a/src/core/hle/kernel/process_capability.h b/src/core/hle/kernel/process_capability.h index 73ad197fa..b7a9b2e45 100644 --- a/src/core/hle/kernel/process_capability.h +++ b/src/core/hle/kernel/process_capability.h @@ -68,7 +68,7 @@ enum class ProgramType { class ProcessCapabilities { public: using InterruptCapabilities = std::bitset<1024>; - using SyscallCapabilities = std::bitset<128>; + using SyscallCapabilities = std::bitset<192>; ProcessCapabilities() = default; ProcessCapabilities(const ProcessCapabilities&) = delete; |