mirror of https://github.com/RPCS3/rpcs3.git
Make a some printfs into error log calls.
This commit is contained in:
parent
007f0f2437
commit
7f5412f427
|
@ -701,7 +701,7 @@ int32_t cellGcmMapLocalMemory(u64 address, u64 size)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("RSX local memory already mapped");
|
cellGcmSys.Error("RSX local memory already mapped");
|
||||||
return CELL_GCM_ERROR_FAILURE;
|
return CELL_GCM_ERROR_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,9 +50,10 @@ int sdata_unpack(wxString packed_file, wxString unpacked_file)
|
||||||
|
|
||||||
char buffer [10200];
|
char buffer [10200];
|
||||||
packed_stream->Read(buffer, 256);
|
packed_stream->Read(buffer, 256);
|
||||||
if (re32(*(u32*)&buffer[0]) != 0x4E504400) // "NPD\x00"
|
u32 format = re32(*(u32*)&buffer[0]);
|
||||||
|
if (format != 0x4E504400) // "NPD\x00"
|
||||||
{
|
{
|
||||||
printf("ERROR: illegal format.");
|
sys_fs.Error("Illegal format. Expected 0x4E504400, but got 0x%08x", format);
|
||||||
return CELL_EFSSPECIFIC;
|
return CELL_EFSSPECIFIC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue