mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00: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
|
||||
// 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);
|
||||
//*reqspace = ctxt->trp_stream.size();
|
||||
*reqspace = 0; // Since we currently just say the trophys are installed, there's no required disk space
|
||||
// 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 = ctxt->trp_stream.size();
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue