Make trophy dialog smarter and not need the silly file. Can load all games by default now.

This commit is contained in:
Robbie 2017-10-29 22:32:51 -05:00 committed by kd-11
parent 3d0dced4bd
commit 47bacc0ef0
5 changed files with 26 additions and 42 deletions

View file

@ -195,9 +195,6 @@ 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"));