From beeb4b3a5f65899f2deaeeae641f201d5acbddfe Mon Sep 17 00:00:00 2001 From: Masamune3210 <1053504+Masamune3210@users.noreply.github.com> Date: Mon, 18 May 2026 22:50:27 -0500 Subject: [PATCH] fix 3dsx swkbd calls causing abort --- src/core/hle/service/apt/applet_manager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/hle/service/apt/applet_manager.cpp b/src/core/hle/service/apt/applet_manager.cpp index fb3a4fc94..ffc13557d 100644 --- a/src/core/hle/service/apt/applet_manager.cpp +++ b/src/core/hle/service/apt/applet_manager.cpp @@ -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; }