mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 09:05:06 +01:00
-fixed cache not reloading after copying gamecube game
from usb to sd
This commit is contained in:
parent
9a19de1545
commit
9607e68ef2
@ -429,7 +429,7 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op)
|
||||
break;
|
||||
}
|
||||
}
|
||||
//
|
||||
|
||||
if (m_thrdMessageAdded)
|
||||
{
|
||||
LockMutex lock(m_mutex);
|
||||
@ -446,16 +446,26 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op)
|
||||
if (done && (op == CMenu::WO_REMOVE_GAME || op == CMenu::WO_ADD_GAME))
|
||||
{
|
||||
m_gameList.SetLanguage(m_loc.getString(m_curLanguage, "gametdb_code", "EN").c_str());
|
||||
if( upd_dml )
|
||||
if(upd_dml)
|
||||
UpdateCache(COVERFLOW_DML);
|
||||
|
||||
if( upd_usb )
|
||||
if(upd_usb)
|
||||
UpdateCache(COVERFLOW_USB);
|
||||
|
||||
_loadList();
|
||||
_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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user