summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cfg
diff options
context:
space:
mode:
authorpurpasmart96 <kanzoconfigz@hotmail.com>2015-04-09 09:11:03 +0200
committerpurpasmart96 <kanzoconfigz@hotmail.com>2015-04-28 08:07:08 +0200
commitc3a480160e3f9a7bbdf4c29e937fedb7159ecbcc (patch)
treef1a8070e19193c0f93c20eb0544512251e3d9609 /src/core/hle/service/cfg
parentMerge pull request #689 from lioncash/format (diff)
downloadyuzu-c3a480160e3f9a7bbdf4c29e937fedb7159ecbcc.tar
yuzu-c3a480160e3f9a7bbdf4c29e937fedb7159ecbcc.tar.gz
yuzu-c3a480160e3f9a7bbdf4c29e937fedb7159ecbcc.tar.bz2
yuzu-c3a480160e3f9a7bbdf4c29e937fedb7159ecbcc.tar.lz
yuzu-c3a480160e3f9a7bbdf4c29e937fedb7159ecbcc.tar.xz
yuzu-c3a480160e3f9a7bbdf4c29e937fedb7159ecbcc.tar.zst
yuzu-c3a480160e3f9a7bbdf4c29e937fedb7159ecbcc.zip
Diffstat (limited to 'src/core/hle/service/cfg')
-rw-r--r--src/core/hle/service/cfg/cfg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp
index fe1245fe8..6af0352ac 100644
--- a/src/core/hle/service/cfg/cfg.cpp
+++ b/src/core/hle/service/cfg/cfg.cpp
@@ -53,12 +53,12 @@ ResultCode GetConfigInfoBlock(u32 block_id, u32 size, u32 flag, u8* output) {
});
if (itr == std::end(config->block_entries)) {
- LOG_ERROR(Service_CFG, "Config block %u with flags %u was not found", block_id, flag);
+ LOG_ERROR(Service_CFG, "Config block 0x%X with flags %u and size %u was not found", block_id, flag, size);
return ResultCode(ErrorDescription::NotFound, ErrorModule::Config, ErrorSummary::WrongArgument, ErrorLevel::Permanent);
}
if (itr->size != size) {
- LOG_ERROR(Service_CFG, "Invalid size %u for config block %u with flags %u", size, block_id, flag);
+ LOG_ERROR(Service_CFG, "Invalid size %u for config block 0x%X with flags %u", size, block_id, flag);
return ResultCode(ErrorDescription::InvalidSize, ErrorModule::Config, ErrorSummary::WrongArgument, ErrorLevel::Permanent);
}