mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-01-11 19:39:09 +01:00
-changes about r162, the idea was good but
reloading view even if its loaded is ok, not that it breaks things like moving around for me -increased gamecube dumper read buffer to 1mb like cleanrip has, thanks emu_kidid for confirming its faster :)
This commit is contained in:
parent
c8ca36600d
commit
489a2138e6
@ -178,7 +178,6 @@ int CMenu::main(void)
|
||||
bool dpad_mode = m_cfg.getBool("GENERAL", "dpad_mode", false);
|
||||
parental_homebrew = m_cfg.getBool("HOMEBREW", "parental", false);
|
||||
|
||||
u32 cv=m_current_view;
|
||||
m_reload = false;
|
||||
static u32 disc_check = 0;
|
||||
int done = 0;
|
||||
@ -261,7 +260,6 @@ int CMenu::main(void)
|
||||
m_btnMgr.noClick(true);
|
||||
if ((m_btnMgr.selected(m_mainBtnChannel) || m_btnMgr.selected(m_mainBtnUsb) || m_btnMgr.selected(m_mainBtnDML) || m_btnMgr.selected(m_mainBtnHomebrew)) && dpad_mode && (BTN_UP_PRESSED || BTN_DOWN_PRESSED || BTN_LEFT_PRESSED || BTN_RIGHT_PRESSED))
|
||||
{
|
||||
cv = m_current_view;
|
||||
if (BTN_UP_PRESSED)
|
||||
m_current_view = COVERFLOW_USB;
|
||||
else if (BTN_DOWN_PRESSED && m_show_dml)
|
||||
@ -270,13 +268,10 @@ int CMenu::main(void)
|
||||
m_current_view = COVERFLOW_HOMEBREW;
|
||||
else if (BTN_RIGHT_PRESSED && show_channel)
|
||||
m_current_view = COVERFLOW_CHANNEL;
|
||||
if (cv != m_current_view)
|
||||
{
|
||||
m_category = m_cat.getInt(_domainFromView(), "category", 0);
|
||||
LoadView();
|
||||
}
|
||||
}
|
||||
if (cv == m_current_view && !m_btnMgr.selected(m_mainBtnChannel) && !m_btnMgr.selected(m_mainBtnUsb) && !m_btnMgr.selected(m_mainBtnDML) && !m_btnMgr.selected(m_mainBtnHomebrew))
|
||||
if (!m_btnMgr.selected(m_mainBtnChannel) && !m_btnMgr.selected(m_mainBtnUsb) && !m_btnMgr.selected(m_mainBtnDML) && !m_btnMgr.selected(m_mainBtnHomebrew))
|
||||
{
|
||||
if (!m_btnMgr.selected(m_mainBtnQuit) && !BTN_B_HELD && (BTN_UP_REPEAT || RIGHT_STICK_UP))
|
||||
m_cf.up();
|
||||
|
@ -148,7 +148,7 @@ int CMenu::_GCgameInstaller(void *obj)
|
||||
bool wexf = m.m_cfg.getBool("DML", "write_ex_files", false);
|
||||
bool alig = m.m_cfg.getBool("DML", "force_32k_align_files", false);
|
||||
u32 nretry = m.m_cfg.getUInt("DML", "num_retries", 5);
|
||||
u32 rsize = 32768;
|
||||
u32 rsize = 1048576; //1MB
|
||||
|
||||
m_gcdump.Init(skip, comp, wexf, alig, nretry, rsize,DeviceName[currentPartition]);
|
||||
|
||||
@ -160,7 +160,7 @@ int CMenu::_GCgameInstaller(void *obj)
|
||||
return -1;
|
||||
}
|
||||
|
||||
char partition[5];
|
||||
char partition[6];
|
||||
sprintf(partition,"%s:/",DeviceName[currentPartition]);
|
||||
struct statvfs stats;
|
||||
memset(&stats, 0, sizeof(stats));
|
||||
|
Loading…
x
Reference in New Issue
Block a user