Skip to content

Commit

Permalink
fix for compilation with libnx v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SciresM committed Apr 12, 2021
1 parent 9af8156 commit 25b2382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion switch/source/title.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void loadTitles(void)

// load play statistics
PdmPlayStatistics stats;
res = pdmqryQueryPlayStatisticsByApplicationIdAndUserAccountId(tid, uid, false, &stats);
res = pdmqryQueryPlayStatisticsByApplicationIdAndUserAccountId(tid, uid, &stats);
if (R_SUCCEEDED(res)) {
title.playTimeMinutes(stats.playtimeMinutes);
title.lastPlayedTimestamp(stats.last_timestampUser);
Expand Down
2 changes: 1 addition & 1 deletion switch/source/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Result servicesInit(void)

romfsInit();

if (R_FAILED(res = plInitialize(PlServiceType_User))) {
if (R_FAILED(res = plInitialize())) {
Logger::getInstance().log(Logger::ERROR, "plInitialize failed. Result code 0x%08lX.", res);
return res;
}
Expand Down

1 comment on commit 25b2382

@CarlosRamirezGriego
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, first of all, I want to to thank you for your work on this project, as a user of it this is really useful and you are a life saver.
I think I have found a bug in this build, you see, I have like 100 saves for each Pokemon game save, and when I moved the saves to the directory that Checkpoint was using, I was only able to navigate in the latest ones, the ones that fit in the "first" page. The issue seems to be specific in the "pagination" between save directories.

Please sign in to comment.