diff --git a/extras/menus/xMenu/include/text.h b/extras/menus/xMenu/include/text.h index dae335b96..fe38228a7 100644 --- a/extras/menus/xMenu/include/text.h +++ b/extras/menus/xMenu/include/text.h @@ -24,7 +24,7 @@ class TextAnim{ private: - float scroll; + int scroll; string title; string subtitle; diff --git a/extras/menus/xMenu/src/text.cpp b/extras/menus/xMenu/src/text.cpp index 6cc9d5d24..4dbc68f35 100644 --- a/extras/menus/xMenu/src/text.cpp +++ b/extras/menus/xMenu/src/text.cpp @@ -3,15 +3,13 @@ TextAnim::TextAnim(string title, string subtitle){ this->title = title; this->subtitle = subtitle; - this->scroll = 200.f; + this->scroll = 200; } TextAnim::~TextAnim(){ } void TextAnim::draw(float y){ - printTextScreen(200, y+30, this->title.c_str(), WHITE_COLOR); - printTextScreen(200, y+60, this->subtitle.c_str(), WHITE_COLOR); - + printTextScreen(scroll, y+60, this->subtitle.c_str(), WHITE_COLOR); } diff --git a/extras/updater/main.c b/extras/updater/main.c index bf72516a5..4fb8ba7b4 100644 --- a/extras/updater/main.c +++ b/extras/updater/main.c @@ -154,6 +154,13 @@ int main(int argc, char * argv[]) } } + // delete updater + sceIoClose(my_fd); + sceIoRemove(eboot_path); + char* c = strrchr(eboot_path, '/'); + *c = 0; + sceIoRmdir(eboot_path); + // Kill Main Thread sceKernelExitGame();