From 26466f7e677a7488ff1bec28e19ecb323c8f1bfc Mon Sep 17 00:00:00 2001 From: Brennen Murphy Date: Sat, 29 Jul 2023 19:12:13 -0400 Subject: [PATCH] Game location now visable --- extras/menus/arkMenu/src/gamemgr.cpp | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/extras/menus/arkMenu/src/gamemgr.cpp b/extras/menus/arkMenu/src/gamemgr.cpp index 51dc64834..cebd41ba4 100644 --- a/extras/menus/arkMenu/src/gamemgr.cpp +++ b/extras/menus/arkMenu/src/gamemgr.cpp @@ -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"; @@ -660,4 +674,4 @@ void GameManager::startBoot(){ } break; default: break; } -} \ No newline at end of file +}