VERY experimental Nintendo Switch 2 emulator
C++
[am] Properly handle None frontend applet (#4500)
MaranBrd16735f5b618
diff --git a/src/core/hle/service/am/frontend/applets.cpp b/src/core/hle/service/am/frontend/applets.cppindex d622c7b7a7..c59e4b9c6b 100644--- a/src/core/hle/service/am/frontend/applets.cpp+++ b/src/core/hle/service/am/frontend/applets.cpp@@ -250,9 +250,10 @@ std::shared_ptr<FrontendApplet> FrontendAppletHolder::GetApplet(std::shared_ptr<return std::make_shared<PhotoViewer>(system, applet, mode, *frontend.photo_viewer);case AppletId::NetConnect:return std::make_shared<NetConnect>(system, applet, mode, *frontend.net_connect);+ case AppletId::None:+ return nullptr;default:- LOG_ERROR(Service_AM, "No backend implementation exists for applet_id={:02X} program_id={:016X}"- "Falling back to stub applet", static_cast<u8>(id), applet->program_id);+ UNIMPLEMENTED_MSG("No frontend implementation exists for applet_id={:02X} program_id={:016X}! Using stub applet.", static_cast<u8>(id), applet->program_id);return std::make_shared<StubApplet>(system, applet, id, mode);}}