Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (game_explorer == 1)
- {
- if (get == 1)
- {
- //sceAppInstUtilAppGetSiz
- a = a + 8;
- b = b + 8;
- c = c + 8;
- d = d + 8;
- e = e + 8;
- klog("----------------------\n");
- f = f + 8;
- g = g + 8;
- h = h + 8;
- o = o + 8;
- if (o > nSaved)
- {
- klog("Limited of saved entries exceeded o = %i, nsaved = %i\n", o, nSaved);
- if (x >= nSaved)
- {
- x = 0;
- o = 7;
- a = 0;
- b = 1;
- c = 2;
- d = 3;
- e = 4;
- klog("----------------------\n");
- f = 5;
- g = 6;
- h = 7;
- }
- }
- get = 0;
- }
- int y = 0;
- int ggg;
- int xxx = 170;
- for (int y; x <= o; x++) {
- int rets = sceAppInstUtilGetTitleIdFromPkg(saved_paths[x], title_id, &ggg);
- if (rets) {
- klog("failed\n");
- }
- klog("x = %i\n", x);
- klog("o = %i\n", o);
- klog("title id = %s\n", title_id);
- sprintf(buff, "/user/appmeta/%s/icon0.png", title_id);
- xxx = xxx + 240;
- klog("xxx = %i\n", xxx);
- c2 = 0x8FFFFFFF;
- c1 = 0x8FFFFFFF;
- update_gradient(&c1, &c2);
- if (x == a)
- {
- if (ffff == 1)
- {
- xxx = xxx - 240;
- print_text(xxx, 220, title_id);
- menu7 = orbis2dLoadPngFromSandBox(buff);
- ffff = 0;
- }
- else
- {
- menu0 = orbis2dLoadPngFromSandBox(buff);
- print_text(170, 220, title_id);
- }
- memset(buff, 0, sizeof(buff));
- }
- if (x == b)
- {
- if (ffff == 1)
- {
- xxx = xxx - 240;
- print_text(xxx, 220, title_id);
- menu0 = orbis2dLoadPngFromSandBox(buff);
- ffff = 0;
- }
- else
- {
- print_text(xxx, 220, title_id);
- menu1 = orbis2dLoadPngFromSandBox(buff);
- }
- memset(buff, 0, sizeof(buff));
- }
- if (x == c)
- {
- if (ffff == 1)
- {
- xxx = xxx - 240;
- print_text(xxx, 220, title_id);
- menu1 = orbis2dLoadPngFromSandBox(buff);
- ffff = 0;
- }
- else
- {
- print_text(xxx, 220, title_id);
- menu2 = orbis2dLoadPngFromSandBox(buff);
- }
- memset(buff, 0, sizeof(buff));
- }
- if (x == d)
- {
- if (ffff == 1)
- {
- xxx = xxx - 240;
- print_text(xxx, 220, title_id);
- menu2 = orbis2dLoadPngFromSandBox(buff);
- ffff = 0;
- }
- else
- {
- print_text(xxx, 220, title_id);
- menu3 = orbis2dLoadPngFromSandBox(buff);
- }
- memset(buff, 0, sizeof(buff));
- }
- if (x == e)
- {
- if (ffff == 1)
- {
- xxx = xxx - 240;
- print_text(xxx, 220, title_id);
- menu3 = orbis2dLoadPngFromSandBox(buff);
- ffff = 0;
- }
- else
- {
- menu4 = orbis2dLoadPngFromSandBox(buff);
- print_text(xxx, 460, title_id);
- }
- memset(buff, 0, sizeof(buff));
- }
- if (x == f)
- {
- if (ffff == 1)
- {
- xxx = xxx - 240;
- print_text(xxx, 220, title_id);
- menu4 = orbis2dLoadPngFromSandBox(buff);
- ffff = 0;
- }
- else
- {
- menu5 = orbis2dLoadPngFromSandBox(buff);
- print_text(xxx, 460, title_id);
- }
- memset(buff, 0, sizeof(buff));
- }
- if (x == g)
- {
- if (ffff == 1)
- {
- xxx = xxx - 240;
- print_text(xxx, 220, title_id);
- menu5 = orbis2dLoadPngFromSandBox(buff);
- ffff = 0;
- }
- else
- {
- menu6 = orbis2dLoadPngFromSandBox(buff);
- print_text(xxx, 460, title_id);
- }
- memset(buff, 0, sizeof(buff));
- }
- if (x == h)
- {
- if (ffff == 1)
- {
- xxx = xxx - 240;
- print_text(xxx, 220, title_id);
- menu6 = orbis2dLoadPngFromSandBox(buff);
- ffff = 0;
- }
- else
- {
- menu7 = orbis2dLoadPngFromSandBox(buff);
- print_text(xxx, 460, title_id);
- }
- memset(buff, 0, sizeof(buff));
- }
- }
- if (menu0) orbis2dDrawnadResizeTexture(menu0, 190, 80); // uses alpha
- if (menu1) orbis2dDrawnadResizeTexture(menu1, 430, 80); // uses alpha
- if (menu2) orbis2dDrawnadResizeTexture(menu2, 670, 80); // uses alp
- if (menu3) orbis2dDrawnadResizeTexture(menu3, 910, 80); // uses alpha
- if (menu4) orbis2dDrawnadResizeTexture(menu4, 190, 320); // uses alpha
- if (menu5) orbis2dDrawnadResizeTexture(menu5, 430, 320); // uses alpha
- if (menu6) orbis2dDrawnadResizeTexture(menu6, 670, 320); // uses alpha
- if (menu7) orbis2dDrawnadResizeTexture(menu7, 910, 320); // uses alpha
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement