Hey, I'm trying to use pdm.h to display play stats, but with no luck. Even the example from devkit doesn't work.
I think the issue is that I'm doing something wrong when passing the parameters to the applet.
I stripped down the code to the max and took it away from the loops just to keep it simple, is there something wrong here?
Sorry if I'm not clear enough about my issue, I need help :x
I think the issue is that I'm doing something wrong when passing the parameters to the applet.
I stripped down the code to the max and took it away from the loops just to keep it simple, is there something wrong here?
Code:
PdmApplicationPlayStatistics stats[1];
u64 titleIDs[1] = {0x0100E46006708000};
s32 total_out=0;
s32 count=1;
rc = pdmqryInitialize(); //This one succeeds
rc = appletQueryApplicationPlayStatistics(stats, titleIDs, count, &total_out); //This one doesn't, so it always prints fail.
if (R_FAILED(rc)) printf("\n\nFAILED!!\n\n");
if (R_SUCCEEDED(rc)) printf("\n\nSUCCEEDED!n\n");
Sorry if I'm not clear enough about my issue, I need help :x