- nand emulation config menu using main config buttons.

This commit is contained in:
Fledge68 2022-07-06 17:34:55 -05:00
parent 1e16afc5bf
commit 5fa567e298
4 changed files with 416 additions and 616 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

After

Width:  |  Height:  |  Size: 4.3 MiB

View File

@ -935,8 +935,7 @@ private:
void _hideCoverBanner(bool instant = true); void _hideCoverBanner(bool instant = true);
void _hidePartitionsCfg(bool instant = false); void _hidePartitionsCfg(bool instant = false);
void _hidePaths(bool instant = false); void _hidePaths(bool instant = false);
void _hideNandEmu(bool instant = false); void _hideNandEmu(bool instant = true);
void _hideNandEmuPg();
void _hideDownload(bool instant = false); void _hideDownload(bool instant = false);
void _hideSettings(bool instant = false); void _hideSettings(bool instant = false);
void _hideCode(bool instant = false); void _hideCode(bool instant = false);
@ -1018,8 +1017,8 @@ private:
void _ConfigHB(); void _ConfigHB();
void _partitionsCfg(void); void _partitionsCfg(void);
int _NandEmuCfg(void); int _NandEmuCfg(void);
int _AutoExtractSave(string gameId); int _ExtractGameSave(string gameId);
int _FlashSave(string gameId); int _FlashGameSave(string gameId);
void _game(bool launch = false); void _game(bool launch = false);
void _downloadUrl(const char *url, u8 **dl_file, u32 *dl_size); void _downloadUrl(const char *url, u8 **dl_file, u32 *dl_size);
void _download(string gameId = string(), int dl_type = 0); void _download(string gameId = string(), int dl_type = 0);

View File

@ -1093,7 +1093,7 @@ void CMenu::_gameSettings(const dir_discHdr *hdr, bool disc)
{ {
_hideGameSettings(); _hideGameSettings();
m_forceext = true; m_forceext = true;
if(!_AutoExtractSave(id)) if(!_ExtractGameSave(id))
error(_t("cfgg50", L"No save to extract!")); error(_t("cfgg50", L"No save to extract!"));
_showGameSettings(); _showGameSettings();
} }
@ -1101,7 +1101,7 @@ void CMenu::_gameSettings(const dir_discHdr *hdr, bool disc)
{ {
_hideGameSettings(); _hideGameSettings();
m_forceext = true; m_forceext = true;
if(!_FlashSave(id)) if(!_FlashGameSave(id))
error(_t("cfgg51", L"No save to flash to real NAND!")); error(_t("cfgg51", L"No save to flash to real NAND!"));
_showGameSettings(); _showGameSettings();
} }

File diff suppressed because it is too large Load Diff