Implement Trophy Manager.

This commit is contained in:
Robbie 2017-10-26 11:09:44 -05:00 committed by kd-11
parent 9b8eb089b1
commit 4aa89132d7
10 changed files with 558 additions and 2 deletions

View file

@ -195,6 +195,9 @@ error_code sceNpTrophyCreateContext(vm::ptr<u32> context, vm::cptr<SceNpCommunic
name = fmt::format("%s_%02d", commId->data, commId->num);
}
// Let the UI know about this commid for the trophy manager.
Emu.GetCallbacks().register_trophy_commid_to_ui(name);
// open trophy pack file
fs::file stream(vfs::get("/app_home/../TROPDIR/" + name + "/TROPHY.TRP"));