mirror of
https://github.com/citra-emu/citra-canary.git
synced 2024-12-24 18:25:38 +00:00
Merge pull request #3225 from B3n30/applet_id
Applet: Print unknown AppletId on ASSERT
This commit is contained in:
commit
36a8bc6db0
|
@ -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");
|
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()];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue