Skip to content

Commit

Permalink
Game location now visable
Browse files Browse the repository at this point in the history
  • Loading branch information
krazynez committed Jul 29, 2023
1 parent 4a5c7db commit 26466f7
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions extras/menus/arkMenu/src/gamemgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,21 @@ void GameManager::stopFastScroll(){
}

string GameManager::getInfo(){
if (selectedCategory >= 0) return getEntry()->getName();
if (selectedCategory >= 0) {

string path;
for(int i = 0; i <= 4; i++) {
if(i == 4) {
path += " ";
}
else {
path += (getEntry()->getPath()[i]);
}
}

return path+getEntry()->getName();
}
//if (selectedCategory >= 0) return getEntry()->getPath();
else if (selectedCategory == -1) return "Loading games...";
else if (selectedCategory == -2) return "No games available";
return "Unknown Menu State";
Expand Down Expand Up @@ -660,4 +674,4 @@ void GameManager::startBoot(){
} break;
default: break;
}
}
}

0 comments on commit 26466f7

Please sign in to comment.