mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Trophy: return size for GetRequiredDiskSpace again
This commit is contained in:
parent
f77e9f8bc1
commit
03268b0838
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue