diff --git a/extras/menus/arkMenu/include/gamemgr.h b/extras/menus/arkMenu/include/gamemgr.h index 7af45877..8fb643a8 100644 --- a/extras/menus/arkMenu/include/gamemgr.h +++ b/extras/menus/arkMenu/include/gamemgr.h @@ -29,6 +29,8 @@ class GameManager : public SystemEntry{ private: GameManager(); + + TextScroll scroll; /* Array of game menus */ Menu* categories[MAX_CATEGORIES]; @@ -128,7 +130,6 @@ class GameManager : public SystemEntry{ } void drawInfo(){ - static TextScroll scroll; string info = getInfo(); bool is_entry_info = (getEntry() != NULL && info == getEntry()->getName()); bool translate = ( !is_entry_info || info == "Recovery Menu" || info == "UMD Drive" ); diff --git a/extras/menus/arkMenu/src/gamemgr.cpp b/extras/menus/arkMenu/src/gamemgr.cpp index 474b98e1..c1098004 100644 --- a/extras/menus/arkMenu/src/gamemgr.cpp +++ b/extras/menus/arkMenu/src/gamemgr.cpp @@ -30,6 +30,7 @@ GameManager::GameManager(){ // set the global self variable as this instance for the threads to use it self = this; + scroll.w = 0; this->use_categories = true; this->scanning = true; this->optionsmenu = NULL; @@ -356,12 +357,14 @@ void GameManager::moveUp(){ if (selectedCategory < 0) return; this->categories[this->selectedCategory]->moveUp(); + scroll.tmp = scroll.x; // reset text scroll } void GameManager::moveDown(){ if (selectedCategory < 0) return; this->categories[this->selectedCategory]->moveDown(); + scroll.tmp = scroll.x; // reset text scroll } void GameManager::stopFastScroll(){