Skip to content

Commit

Permalink
Add support for retail 3.65
Browse files Browse the repository at this point in the history
Closes #4
  • Loading branch information
nowrep committed Mar 12, 2018
1 parent 3d8ad98 commit e1d4563
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ static void get_functions_retail()
scePafWidgetSetFontSize = (void*) text_addr + 0x45ce80;
}

static void get_functions_retail_365()
{
scePafWidgetSetFontSize = (void*) text_addr + 0x45d2c8;
}

static void get_functions_testkit()
{
scePafWidgetSetFontSize = (void*) text_addr + 0x453038;
Expand Down Expand Up @@ -165,6 +170,12 @@ int module_start(SceSize argc, const void *args)
get_functions_retail();
break;

case 0x5549BF1F: // retail 3.65 SceShell
offsets[0] = 0x183f6c;
offsets[1] = 0x40e4fc;
get_functions_retail_365();
break;

case 0xEAB89D5C: // testkit 3.60 SceShell
offsets[0] = 0x17c2d8;
offsets[1] = 0x404828;
Expand Down

0 comments on commit e1d4563

Please sign in to comment.