mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
-Fix for installing Wii games. Note: added closing and opening of inputs (Wiimote) because for some reason my pointer kept disappearing and not coming back.
This commit is contained in:
parent
cb4360191c
commit
ee1082edc4
@ -145,11 +145,11 @@ int CMenu::_gameInstaller(void *obj)
|
|||||||
ret = WBFS_AddGame(_addDiscProgress, obj);
|
ret = WBFS_AddGame(_addDiscProgress, obj);
|
||||||
LWP_MutexLock(m.m_mutex);
|
LWP_MutexLock(m.m_mutex);
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
m._setThrdMsg(m._t("wbfsop8", L"Game installed"), 1.f);
|
m._setThrdMsg(m._t("wbfsop8", L"Game installed, press B to exit."), 1.f);
|
||||||
else
|
else
|
||||||
m._setThrdMsg(m._t("wbfsop9", L"An error has occurred"), 1.f);
|
m._setThrdMsg(m._t("wbfsop9", L"An error has occurred"), 1.f);
|
||||||
LWP_MutexUnlock(m.m_mutex);
|
LWP_MutexUnlock(m.m_mutex);
|
||||||
slotLight(true);
|
slotLight(false);
|
||||||
}
|
}
|
||||||
WBFS_Close();
|
WBFS_Close();
|
||||||
m.m_thrdWorking = false;
|
m.m_thrdWorking = false;
|
||||||
@ -342,6 +342,7 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op)
|
|||||||
out = true;
|
out = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
CoverFlow.clear();
|
||||||
strncpy(cfPos, GameID, 6);
|
strncpy(cfPos, GameID, 6);
|
||||||
m_btnMgr.setText(m_wbfsLblDialog, wfmt(_fmt("wbfsop6", L"Installing [%s] %s..."), GameID, wii_hdr.title));
|
m_btnMgr.setText(m_wbfsLblDialog, wfmt(_fmt("wbfsop6", L"Installing [%s] %s..."), GameID, wii_hdr.title));
|
||||||
done = true;
|
done = true;
|
||||||
@ -508,6 +509,7 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op)
|
|||||||
if(done && (op == WO_REMOVE_GAME || op == WO_ADD_GAME))
|
if(done && (op == WO_REMOVE_GAME || op == WO_ADD_GAME))
|
||||||
{
|
{
|
||||||
//m_gameList.SetLanguage(m_loc.getString(m_curLanguage, "gametdb_code", "EN").c_str());
|
//m_gameList.SetLanguage(m_loc.getString(m_curLanguage, "gametdb_code", "EN").c_str());
|
||||||
|
_showWaitMessage();
|
||||||
if(upd_dml)
|
if(upd_dml)
|
||||||
UpdateCache(COVERFLOW_DML);
|
UpdateCache(COVERFLOW_DML);
|
||||||
if(upd_usb)
|
if(upd_usb)
|
||||||
@ -517,8 +519,13 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op)
|
|||||||
if(upd_chan)
|
if(upd_chan)
|
||||||
UpdateCache(COVERFLOW_CHANNEL);
|
UpdateCache(COVERFLOW_CHANNEL);
|
||||||
_loadList();
|
_loadList();
|
||||||
|
_hideWaitMessage();
|
||||||
_initCF();
|
_initCF();
|
||||||
CoverFlow.findId(cfPos, true);
|
CoverFlow.findId(cfPos, true);
|
||||||
|
Close_Inputs();
|
||||||
|
Open_Inputs();
|
||||||
|
for(int chan = WPAD_MAX_WIIMOTES-1; chan >= 0; chan--)
|
||||||
|
WPAD_SetVRes(chan, m_vid.width() + m_cursor[chan].width(), m_vid.height() + m_cursor[chan].height());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -265,7 +265,7 @@ gametdb_code=EN
|
|||||||
GC_Def=Default
|
GC_Def=Default
|
||||||
GC_DM=DIOS-MIOS
|
GC_DM=DIOS-MIOS
|
||||||
GC_Devo=Devolution
|
GC_Devo=Devolution
|
||||||
GC_Auto=Auto MIOS
|
GC_Auto=Auto
|
||||||
genesis=Sega Genesis
|
genesis=Sega Genesis
|
||||||
gm1=Play
|
gm1=Play
|
||||||
gm2=Back
|
gm2=Back
|
||||||
@ -391,7 +391,7 @@ wbfsop4=Back
|
|||||||
wbfsop5=Go
|
wbfsop5=Go
|
||||||
wbfsop6=Installing [%s] %s...
|
wbfsop6=Installing [%s] %s...
|
||||||
wbfsop7=Game deleted
|
wbfsop7=Game deleted
|
||||||
wbfsop8=Game installed
|
wbfsop8=Game installed, press B to exit.
|
||||||
wbfsop9=An error has occurred
|
wbfsop9=An error has occurred
|
||||||
wbfsoperr1=Disc_Wait failed
|
wbfsoperr1=Disc_Wait failed
|
||||||
wbfsoperr2=Disc_Open failed
|
wbfsoperr2=Disc_Open failed
|
||||||
|
Loading…
Reference in New Issue
Block a user