修复romitem没有即时显示收藏标记的问题,修复bug

This commit is contained in:
ALIENJACK\alien 2025-01-09 15:09:32 +08:00
parent 2513cf4f7f
commit ba52dd4e84
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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;