user-manager: replacing fmt::format with string concat.

(cherry picked from commit 63379afc7a402edb2159912318281febc3e7438a)
This commit is contained in:
mpm11011 2018-06-13 18:11:51 -04:00 committed by Ivan
parent 948bd3673e
commit 68202eb2b7
7 changed files with 20 additions and 20 deletions

View file

@ -1295,7 +1295,7 @@ bool SELFDecrypter::GetKeyFromRap(u8* content_id, u8* npdrm_key)
// Try to find a matching RAP file under exdata folder.
const std::string ci_str = reinterpret_cast<const char*>(content_id);
const std::string rap_path = fmt::format("/dev_hdd0/home/%s/exdata/%s.rap", Emu.GetUsr(), ci_str);
const std::string rap_path = "/dev_hdd0/home/" + Emu.GetUsr() + "/exdata/" + ci_str + ".rap";
// Open the RAP file and read the key.
const fs::file rap_file(vfs::get(rap_path));