Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Playable] CSPSP
08-25-2013, 08:22 PM
Post: #6
RE: [android][pre-0.7] cspsp is playable
From CSPSP source code:
Code:
int CheckTempAR() {
    //FILE *file = fopen("modlist.txt","w");

    SceModule* mod = sceKernelFindModuleByName("TempAR"); // <-- HERE
    if (mod) { // <-- HERE
        return 1; // <-- HERE
        /*SceUID modid = mod->modid;
        SceKernelModuleInfo info;
        memset(&info, 0, sizeof(info));
        info.size = sizeof(info);
        int ret = sceKernelQueryModuleInfo(modid, &info);
        if(ret >= 0) {
            printf("found tempar, killing\n");
            printf("UID: 0x%08X Attr: %04X - Name: %s\n", modid, info.attribute, info.name);
        }*/
    }
    else {
        return -1;
    }

    /*SceUID ids[100];
    int ret;
    int count;
    int i;

    memset(ids, 0, 100 * sizeof(SceUID));
    ret = sceKernelGetModuleIdList(ids, 100 * sizeof(SceUID), &count);
    if(ret >= 0) {
        printf("<Module List (%d modules)>\n", count);
        for(i = 0; i < count; i++) {
            //print_modinfo(ids[i]);

            SceKernelModuleInfo info;
            char szString2[256] = "";
            memset(&info, 0, sizeof(info));
            info.size = sizeof(info);
            ret = sceKernelQueryModuleInfo(ids[i], &info);
            if(ret >= 0) {
                if (stricmp(info.name,"tempar") == 0) {
                    printf("found tempar, killing\n");
                    printf("UID: 0x%08X Attr: %04X - Name: %s\n", ids[i], info.attribute, info.name);

                }

                //sprintf(szString2, &info.name);
                //fputs(info.name, file);
            }
        }
    }*/
    //fclose(file);
}
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[Playable] CSPSP - Napoleon_First - 03-01-2013, 03:12 PM
RE: [android][pre-0.7] cspsp is playable - RealYoti - 08-25-2013 08:22 PM
RE: [Playable] CSPSP - vnctdj - 12-10-2015, 10:04 PM
CSPSP 1.92+ r7.1 - Yungrazr - 12-10-2015, 09:47 PM

Forum Jump: