mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
- fixed source menu buttons hiding/showing.
This commit is contained in:
parent
5df5ccc2ee
commit
87b6379641
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 4.4 MiB |
@ -331,12 +331,13 @@ void CMenu::_updateSourceBtns(void)
|
||||
m_btnMgr.hide(m_sourceBtnPageP);
|
||||
}
|
||||
|
||||
for(i = 0; i < 12; ++i)
|
||||
m_btnMgr.hide(m_sourceBtnSource[i], true);
|
||||
|
||||
j = (curPage - 1) * 12;
|
||||
for(i = 0; i < 12; ++i)
|
||||
{
|
||||
if((i + j) >= nonHiddenSources.size())
|
||||
m_btnMgr.hide(m_sourceBtnSource[i]);
|
||||
else
|
||||
if((i + j) < nonHiddenSources.size())
|
||||
{
|
||||
memset(current_btn, 0, 16);
|
||||
strncpy(current_btn, fmt("BUTTON_%i", nonHiddenSources[i + j]), 15);
|
||||
|
Loading…
Reference in New Issue
Block a user