fixup! Applet: Print unknown AppletId on ASSERT

This commit is contained in:
B3n30 2017-12-06 13:48:27 +01:00
parent ddc59e3881
commit b9db9af9e8

View File

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