-fixed cache not reloading after copying gamecube game

from usb to sd
This commit is contained in:
fix94.1 2012-04-04 12:22:01 +00:00
parent 9a19de1545
commit 9607e68ef2

View File

@ -429,7 +429,7 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op)
break;
}
}
//
if (m_thrdMessageAdded)
{
LockMutex lock(m_mutex);
@ -456,6 +456,16 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op)
_initCF();
m_cf.findId(cfPos.c_str(), true);
}
else if(done && op == CMenu::WO_COPY_GAME)
{
m_gameList.SetLanguage(m_loc.getString(m_curLanguage, "gametdb_code", "EN").c_str());
if(upd_dml)
{
UpdateCache(COVERFLOW_DML);
currentPartition = SD;
UpdateCache(COVERFLOW_DML);
}
}
return done;
}