mirror of
https://github.com/coderkei/akmenu-next.git
synced 2025-06-19 01:15:32 -04:00
mainwnd: remove broken custom dirShowName for the file system
This is a pain to support due to multiple types of mount points. The current mount points (`sd` and `fat`) are just fine and understandable.
This commit is contained in:
parent
3c9b9088ef
commit
5adf8515ac
@ -642,9 +642,7 @@ void cMainWnd::showFileInfo() {
|
||||
void cMainWnd::onFolderChanged() {
|
||||
resetInputIdle();
|
||||
std::string dirShowName = _mainList->getCurrentDir();
|
||||
if (dirShowName.substr(0, 5) == SD_ROOT_0)
|
||||
dirShowName.replace(0, 4, "SD");
|
||||
else if ("favorites:/" != dirShowName && "slot2:/" == _mainList->getSelectedFullPath()) {
|
||||
if ("favorites:/" != dirShowName && "slot2:/" == _mainList->getSelectedFullPath()) {
|
||||
u8 chk = 0;
|
||||
for (u32 i = 0xA0; i < 0xBD; ++i) {
|
||||
chk = chk - *(u8*)(0x8000000 + i);
|
||||
|
Loading…
Reference in New Issue
Block a user