mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
log fixes (to wx_str())
This commit is contained in:
parent
a6faf04db4
commit
5a240c32a9
41 changed files with 215 additions and 183 deletions
|
@ -225,13 +225,13 @@ bool ELF32Loader::LoadPhdrData(u64 _offset)
|
|||
|
||||
if(note.descsz == sizeof(note.desc))
|
||||
{
|
||||
ConLog.Warning("name = %s", note.name);
|
||||
ConLog.Warning("name = %s", wxString(note.name, 8).wx_str());
|
||||
ConLog.Warning("ls_size = %d", note.desc.ls_size);
|
||||
ConLog.Warning("stack_size = %d", note.desc.stack_size);
|
||||
}
|
||||
else
|
||||
{
|
||||
ConLog.Warning("desc = '%s'", note.desc_text);
|
||||
ConLog.Warning("desc = '%s'", wxString(note.desc_text, 32).wx_str());
|
||||
}
|
||||
}
|
||||
#ifdef LOADER_DEBUG
|
||||
|
@ -249,7 +249,7 @@ bool ELF32Loader::LoadShdrData(u64 offset)
|
|||
Elf32_Shdr& shdr = shdr_arr[i];
|
||||
|
||||
#ifdef LOADER_DEBUG
|
||||
if(i < shdr_name_arr.GetCount()) ConLog.Write("Name: %s", shdr_name_arr[i]);
|
||||
if(i < shdr_name_arr.GetCount()) ConLog.Write("Name: %s", shdr_name_arr[i].wx_str());
|
||||
shdr.Show();
|
||||
ConLog.SkipLn();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue