mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
sceNp.cpp: fix some UTF-8 string mismatch
This commit is contained in:
parent
2aa5c437e8
commit
cad3a6c547
1 changed files with 4 additions and 4 deletions
|
@ -550,7 +550,7 @@ error_code sceNpDrmVerifyUpgradeLicense(vm::cptr<char> content_id)
|
||||||
|
|
||||||
const std::string content_str(content_id.get_ptr(), std::find(content_id.get_ptr(), content_id.get_ptr() + 0x2f, '\0'));
|
const std::string content_str(content_id.get_ptr(), std::find(content_id.get_ptr(), content_id.get_ptr() + 0x2f, '\0'));
|
||||||
|
|
||||||
sceNp.warning("sceNpDrmVerifyUpgradeLicense(): content_id=“%s”", content_id);
|
sceNp.warning(u8"sceNpDrmVerifyUpgradeLicense(): content_id=“%s”", content_id);
|
||||||
|
|
||||||
if (!fs::is_file(vfs::get("/dev_hdd0/home/" + Emu.GetUsr() + "/exdata/" + content_str + ".rap")))
|
if (!fs::is_file(vfs::get("/dev_hdd0/home/" + Emu.GetUsr() + "/exdata/" + content_str + ".rap")))
|
||||||
{
|
{
|
||||||
|
@ -573,7 +573,7 @@ error_code sceNpDrmVerifyUpgradeLicense2(vm::cptr<char> content_id)
|
||||||
|
|
||||||
const std::string content_str(content_id.get_ptr(), std::find(content_id.get_ptr(), content_id.get_ptr() + 0x2f, '\0'));
|
const std::string content_str(content_id.get_ptr(), std::find(content_id.get_ptr(), content_id.get_ptr() + 0x2f, '\0'));
|
||||||
|
|
||||||
sceNp.warning("sceNpDrmVerifyUpgradeLicense2(): content_id=“%s”", content_id);
|
sceNp.warning(u8"sceNpDrmVerifyUpgradeLicense2(): content_id=“%s”", content_id);
|
||||||
|
|
||||||
if (!fs::is_file(vfs::get("/dev_hdd0/home/" + Emu.GetUsr() + "/exdata/" + content_str + ".rap")))
|
if (!fs::is_file(vfs::get("/dev_hdd0/home/" + Emu.GetUsr() + "/exdata/" + content_str + ".rap")))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue