mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-01-26 18:45:28 +01:00
-fixed not found emu nand partition if you did use the source menu and partition switch feature in a certain way
This commit is contained in:
parent
040459dcaa
commit
570dd16c10
@ -1162,6 +1162,7 @@ void CMenu::_setPartition(s8 direction)
|
|||||||
if(m_current_view == COVERFLOW_CHANNEL && neek2o())
|
if(m_current_view == COVERFLOW_CHANNEL && neek2o())
|
||||||
return;
|
return;
|
||||||
_cfNeedsUpdate();
|
_cfNeedsUpdate();
|
||||||
|
int FS_Type = 0;
|
||||||
if(direction != 0)
|
if(direction != 0)
|
||||||
{
|
{
|
||||||
bool switch_to_real = true;
|
bool switch_to_real = true;
|
||||||
@ -1174,7 +1175,6 @@ void CMenu::_setPartition(s8 direction)
|
|||||||
bool NeedFAT = m_current_view == COVERFLOW_CHANNEL || m_current_view == COVERFLOW_DML;
|
bool NeedFAT = m_current_view == COVERFLOW_CHANNEL || m_current_view == COVERFLOW_DML;
|
||||||
|
|
||||||
u8 limiter = 0;
|
u8 limiter = 0;
|
||||||
int FS_Type = 0;
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
currentPartition = loopNum(currentPartition + direction, 10);
|
currentPartition = loopNum(currentPartition + direction, 10);
|
||||||
@ -1197,6 +1197,8 @@ void CMenu::_setPartition(s8 direction)
|
|||||||
m_cfg.setInt(WII_DOMAIN, "savepartition", currentPartition);
|
m_cfg.setInt(WII_DOMAIN, "savepartition", currentPartition);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if(direction == 0 || (direction != 0 && (m_current_view != COVERFLOW_CHANNEL ||
|
||||||
|
(FS_Type != -1 && DeviceHandle.IsInserted(currentPartition)))))
|
||||||
m_cfg.setInt(_domainFromView(), "partition", currentPartition);
|
m_cfg.setInt(_domainFromView(), "partition", currentPartition);
|
||||||
vector<bool> plugin_list = m_plugin.GetEnabledPlugins(m_cfg, &enabledPluginsCount);
|
vector<bool> plugin_list = m_plugin.GetEnabledPlugins(m_cfg, &enabledPluginsCount);
|
||||||
if(enabledPluginsCount == 1)
|
if(enabledPluginsCount == 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user