mirror of https://github.com/RPCS3/rpcs3.git
Trophy: return size for GetRequiredDiskSpace again
This commit is contained in:
parent
f77e9f8bc1
commit
03268b0838
|
@ -347,8 +347,8 @@ error_code sceNpTrophyGetRequiredDiskSpace(u32 context, u32 handle, vm::ptr<u64>
|
||||||
// TODO: This is not accurate. It's just an approximation of the real value
|
// TODO: This is not accurate. It's just an approximation of the real value
|
||||||
// The real value can be obtained in TRP.cpp:
|
// The real value can be obtained in TRP.cpp:
|
||||||
// m_headers.trp_file_size - sizeof(m_headers) - (m_headers.trp_files_count * m_headers.trp_element_size);
|
// m_headers.trp_file_size - sizeof(m_headers) - (m_headers.trp_files_count * m_headers.trp_element_size);
|
||||||
//*reqspace = ctxt->trp_stream.size();
|
// TODO: eventually this should be set to 0 when trophys are detected as already installed, setting to 0 now causes some games to not call registerContext, which leads to trophys never getting installed
|
||||||
*reqspace = 0; // Since we currently just say the trophys are installed, there's no required disk space
|
*reqspace = ctxt->trp_stream.size();
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue