mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-26 03:41:55 +01:00
- fixed translation of total size: text when dumping a nand or nand file.
This commit is contained in:
parent
877b257e47
commit
78832585be
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,10 @@ int CMenu::_NandEmuCfg(void)
|
|||||||
m_btnMgr.setText(m_nandfinLblDialog, wfmt(_fmt("cfgne14", L"Extracted: %d saves / %d files / %d folders"), m_nandexentry, m_filesdone, m_foldersdone));
|
m_btnMgr.setText(m_nandfinLblDialog, wfmt(_fmt("cfgne14", L"Extracted: %d saves / %d files / %d folders"), m_nandexentry, m_filesdone, m_foldersdone));
|
||||||
else
|
else
|
||||||
m_btnMgr.setText(m_nandfinLblDialog, wfmt(_fmt("cfgne15", L"Extracted: %d files / %d folders"), m_filesdone, m_foldersdone));
|
m_btnMgr.setText(m_nandfinLblDialog, wfmt(_fmt("cfgne15", L"Extracted: %d files / %d folders"), m_filesdone, m_foldersdone));
|
||||||
wstringEx total_size;
|
|
||||||
if(m_dumpsize/0x400 > 0x270f)
|
if(m_dumpsize/0x400 > 0x270f)
|
||||||
total_size = wfmt(_fmt("cfgne16", L"Total size: %uMB (%d blocks)"), (m_dumpsize/0x100000), (m_dumpsize/0x8000)>>2);
|
m_btnMgr.setText(m_nandemuLblDialog, wfmt(_fmt("cfgne16", L"Total size: %dMB (%d blocks)"), (m_dumpsize/0x100000), (m_dumpsize/0x8000)>>2));
|
||||||
else
|
else
|
||||||
total_size = wfmt(_fmt("cfgne17", L"Total size: %uKB (%d blocks)"), (m_dumpsize/0x400), (m_dumpsize/0x8000)>>2);
|
m_btnMgr.setText(m_nandemuLblDialog, wfmt(_fmt("cfgne17", L"Total size: %dKB (%d blocks)"), (m_dumpsize/0x400), (m_dumpsize/0x8000)>>2));
|
||||||
m_btnMgr.setText(m_nandemuLblDialog, total_size);
|
|
||||||
m_btnMgr.show(m_nandemuBtnBack);
|
m_btnMgr.show(m_nandemuBtnBack);
|
||||||
m_btnMgr.show(m_nandfinLblDialog);
|
m_btnMgr.show(m_nandfinLblDialog);
|
||||||
while(!m_exit)
|
while(!m_exit)
|
||||||
|
Loading…
Reference in New Issue
Block a user