mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
fix 3dsx swkbd calls causing abort
This commit is contained in:
parent
cd21f70597
commit
beeb4b3a5f
1 changed files with 3 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ AppletManager::AppletSlot AppletManager::GetAppletSlotFromId(AppletId id) {
|
|||
|
||||
if (id == AppletId::AnyLibraryApplet || id == AppletId::AnySysLibraryApplet) {
|
||||
auto slot_data = GetAppletSlot(AppletSlot::LibraryApplet);
|
||||
if (slot_data->applet_id == AppletId::None)
|
||||
if (slot_data->applet_id == AppletId::None || slot_data->applet_id == AppletId::Application)
|
||||
return AppletSlot::Error;
|
||||
|
||||
auto applet_pos = slot_data->attributes.applet_pos.Value();
|
||||
|
|
@ -299,7 +299,8 @@ u64 AppletManager::GetAppletSlotTitleId(AppletSlot slot) {
|
|||
return slot_data->title_id;
|
||||
}
|
||||
|
||||
if (slot_data->applet_id == AppletId::None) {
|
||||
if (slot_data->applet_id == AppletId::None ||
|
||||
slot_data->applet_id == AppletId::Application) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue