mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
use .wx_str() instead of .mb_str(), Dbg console is still broken
This commit is contained in:
parent
fdcdd7769f
commit
b9c3dc352d
32 changed files with 216 additions and 211 deletions
|
@ -55,7 +55,7 @@ s64 sys_prx_exitspawn_with_level()
|
|||
s64 sys_strlen(u32 addr)
|
||||
{
|
||||
const wxString& str = Memory.ReadString(addr);
|
||||
sysPrxForUser.Log("sys_strlen(0x%x - \"%s\")", addr, str.mb_str());
|
||||
sysPrxForUser.Log("sys_strlen(0x%x - \"%s\")", addr, str.wx_str());
|
||||
return str.Len();
|
||||
}
|
||||
|
||||
|
@ -100,7 +100,7 @@ int sys_spu_image_close(mem_ptr_t<sys_spu_image> img)
|
|||
|
||||
int sys_raw_spu_load(int id, u32 path_addr, mem32_t entry)
|
||||
{
|
||||
const wxString path = Memory.ReadString(path_addr).mb_str();
|
||||
const wxString path = Memory.ReadString(path_addr).wx_str();
|
||||
sysPrxForUser.Warning("sys_raw_spu_load(id=0x%x, path=0x%x [%s], entry_addr=0x%x)",
|
||||
id, path_addr, path.c_str(), entry.GetAddr());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue