Better message for missing game trophies directory (#3922)

Also decreased the log level from critical to warning, as all this affects is the ability to earn trophies.
This commit is contained in:
Stephen Miller
2026-01-13 00:30:56 -06:00
committed by GitHub
parent 540fdcc812
commit 108cefaf53

View File

@@ -59,7 +59,7 @@ static void hexToBytes(const char* hex, unsigned char* dst) {
bool TRP::Extract(const std::filesystem::path& trophyPath, const std::string titleId) { bool TRP::Extract(const std::filesystem::path& trophyPath, const std::string titleId) {
std::filesystem::path gameSysDir = trophyPath / "sce_sys/trophy/"; std::filesystem::path gameSysDir = trophyPath / "sce_sys/trophy/";
if (!std::filesystem::exists(gameSysDir)) { if (!std::filesystem::exists(gameSysDir)) {
LOG_CRITICAL(Common_Filesystem, "Game sce_sys directory doesn't exist"); LOG_WARNING(Common_Filesystem, "Game trophy directory doesn't exist");
return false; return false;
} }