diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/RomLib/RomLib.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/RomLib/RomLib.cs index 8ef9f97a..3f9e4d3d 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/RomLib/RomLib.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/RomLib/RomLib.cs @@ -43,6 +43,8 @@ namespace AxibugEmuOnline.Client private void OnRomStarStateChanged(int romID, bool star) { + if (nesRomFetchList == null) return; + var targetRom = nesRomFetchList.FirstOrDefault(rom => rom.ID == romID); if (targetRom == null) return; diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/GamesUI/RomItem.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/GamesUI/RomItem.cs index 480858c8..dfe04a32 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/GamesUI/RomItem.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/GamesUI/RomItem.cs @@ -139,6 +139,7 @@ namespace AxibugEmuOnline.Client { DownloadingFlag.SetActiveEx(false); FileReadyFlag.SetActiveEx(false); + Star.SetActiveEx(IsStar); if (m_romfile == null) return; if (!m_romfile.InfoReady) return;