mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 04:03:49 +01:00
Correct some log categories, add UI category, some warning fixes
This commit is contained in:
1 parent
e90b91701f
commit
91bf4d5b5c
13 files changed
+104
-104
No files matched your search
@@ -48,7 +48,7 @@ bool AndroidContentURI::Parse(std::string_view path) {
|
||||
|
||||
AndroidContentURI AndroidContentURI::WithRootFilePath(const std::string &filePath) {
|
||||
if (root.empty()) {
|
||||
ERROR_LOG(Log::System, "WithRootFilePath cannot be used with single file URIs.");
|
||||
ERROR_LOG(Log::IO, "WithRootFilePath cannot be used with single file URIs.");
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ bool AndroidContentURI::ComputePathTo(const AndroidContentURI &other, std::strin
|
||||
size_t offset = FilePath().size() + 1;
|
||||
const auto &otherFilePath = other.FilePath();
|
||||
if (offset >= otherFilePath.size()) {
|
||||
ERROR_LOG(Log::System, "Bad call to PathTo. '%s' -> '%s'", FilePath().c_str(), other.FilePath().c_str());
|
||||
ERROR_LOG(Log::IO, "Bad call to PathTo. '%s' -> '%s'", FilePath().c_str(), other.FilePath().c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user