diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-04-29 06:53:53 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-04-29 06:53:53 +0200 |
commit | b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813 (patch) | |
tree | 20dbce57eddb9b4930fcc792badee679b9f961fe /src/core/hle/kernel/resource_limit.cpp | |
parent | Merge pull request #3771 from benru/dump-romfs-with-updates (diff) | |
download | yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.gz yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.bz2 yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.lz yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.xz yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.zst yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/resource_limit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/resource_limit.cpp b/src/core/hle/kernel/resource_limit.cpp index 96e5b9892..d9beaa3a4 100644 --- a/src/core/hle/kernel/resource_limit.cpp +++ b/src/core/hle/kernel/resource_limit.cpp @@ -69,6 +69,8 @@ ResultCode ResourceLimit::SetLimitValue(ResourceType resource, s64 value) { limit[index] = value; return RESULT_SUCCESS; } else { + LOG_ERROR(Kernel, "Limit value is too large! resource={}, value={}, index={}", + static_cast<u32>(resource), value, index); return ERR_INVALID_STATE; } } |