Skip to content

Commit

Permalink
Show the requested RTP name and the japanese name in the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Mar 3, 2019
1 parent 29d4301 commit 90cddfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/filefinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ namespace {
}

if (!disable_rtp_warnings && !rtp_name.empty()) {
std::string msg = "Cannot find: %s/%s. " + std::string(search_paths.empty() ?
std::string msg = "Cannot find: %s/%s (%s). " + std::string(search_paths.empty() ?
"Install RTP %d to resolve this warning." : "RTP %d was probably not installed correctly.");

Output::Warning(msg.c_str(), dir.c_str(), rtp_name.c_str(), Player::EngineVersion());
Output::Warning(msg.c_str(), dir.c_str(), name.c_str(), rtp_name.c_str(), Player::EngineVersion());
} else {
// not an RTP asset or RTP support was disabled
Output::Debug("Cannot find: %s/%s", dir.c_str(), name.c_str());
Expand Down

0 comments on commit 90cddfd

Please sign in to comment.