Skip to content

Commit

Permalink
fixed sceKernelRegisterGetIdFunc for idmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
hrimfaxi committed Jun 25, 2011
1 parent a097d21 commit 3d410cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions popsloader/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ static int replace_module(int modid, SceSize argsize, void *argp, int *modstatus

if(pops_fw_version == FW_500 && 0 == strcmp(modname, "scePops_Manager")) {
SceUID modid;
SceModule2 *mod_;
char path[256];

sprintf(path, "%sidmanager.prx", get_module_prefix());
Expand All @@ -208,6 +209,9 @@ static int replace_module(int modid, SceSize argsize, void *argp, int *modstatus
}
#endif

mod_ = (SceModule2*) sceKernelFindModuleByUID(modid);
fix_nid((SceModule*)mod_);

modid = sceKernelStartModule(modid, 0, 0, 0, 0);
}

Expand Down
1 change: 1 addition & 0 deletions popsloader/core/nid_500_to_620.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ static nid_entry SysMemForKernel_nid[] = {
{ 0x5339A163, 0xA4AC3934, },
{ 0x950BCB31, 0xFEB5C72B, },
{ 0xD7E24299, 0xF5780DAA, },
{ 0x4803B7F1, 0x02AEA33F, }, // for idmanager.prx
};

static nid_entry ModuleMgrForKernel_nid[] = {
Expand Down
1 change: 1 addition & 0 deletions popsloader/core/nid_500_to_635.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ static nid_entry SysMemForKernel_nid[] = {
{ 0x5339A163, 0xF2FEAFD5, },
{ 0x950BCB31, 0x52B54B93, },
{ 0xD7E24299, 0x208F4820, },
{ 0x4803B7F1, 0x25A760F0, }, // for idmanager.prx
};

static nid_entry ModuleMgrForKernel_nid[] = {
Expand Down

0 comments on commit 3d410cc

Please sign in to comment.