Merge pull request #3225 from B3n30/applet_id

Applet: Print unknown AppletId on ASSERT
This commit is contained in:
Sebastian Valle 2017-12-06 08:02:55 -05:00 committed by GitHub
commit 36a8bc6db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ static u64 GetTitleIdForApplet(AppletId id) {
return data.applet_ids[0] == id || data.applet_ids[1] == id;
});
ASSERT_MSG(itr != applet_titleids.end(), "Unknown applet id");
ASSERT_MSG(itr != applet_titleids.end(), "Unknown applet id 0x%03X", static_cast<u32>(id));
return itr->title_ids[CFG::GetRegionValue()];
}