From 03268b083878cdb78ef841d7da129f79744ecd6b Mon Sep 17 00:00:00 2001 From: Jake Date: Sun, 18 Jun 2017 21:00:42 -0500 Subject: [PATCH] Trophy: return size for GetRequiredDiskSpace again --- rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp b/rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp index a2dcd72611..82409777f5 100644 --- a/rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp @@ -347,8 +347,8 @@ error_code sceNpTrophyGetRequiredDiskSpace(u32 context, u32 handle, vm::ptr // 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; }