[Kernel] Prevent $flash_xam from initialization while loading dashboard

This commit is contained in:
Adrian 2025-08-15 20:30:56 +01:00 committed by Radosław Gliński
parent cbde83b912
commit e45f547a49

View file

@ -68,7 +68,7 @@ class UserModule : public XModule {
bool is_dll_module() const { return is_dll_module_; }
bool is_attached() const {
// Special case for skipping real XAM initialization as it will fail.
if (name_ == "xam") {
if (name_ == "xam" || name_ == "$flash_xam") {
return true;
}
return is_attached_;