Skip to content

Commit

Permalink
set the proper start time when prompt for overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
cy33hc committed Jun 17, 2024
1 parent 56b8ba2 commit 96e09b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ namespace Actions

if (confirm_state == CONFIRM_YES)
{
prev_tick = sceKernelGetProcessTimeWide();
sprintf(activity_message, "%s %s\n", lang_strings[STR_UPLOADING], src);
return remoteclient->Put(src, dest);
}
Expand Down Expand Up @@ -495,6 +496,7 @@ namespace Actions

if (confirm_state == CONFIRM_YES)
{
prev_tick = sceKernelGetProcessTimeWide();
sprintf(activity_message, "%s %s\n", lang_strings[STR_DOWNLOADING], src);
return remoteclient->Get(dest, src);
}
Expand Down Expand Up @@ -1005,6 +1007,7 @@ namespace Actions

if (confirm_state == CONFIRM_YES)
{
prev_tick = sceKernelGetProcessTimeWide();
if (isCopy)
return FS::Copy(src, dest);
else
Expand Down Expand Up @@ -1212,6 +1215,7 @@ namespace Actions

if (confirm_state == CONFIRM_YES)
{
prev_tick = sceKernelGetProcessTimeWide();
if (isCopy)
return remoteclient->Copy(src, dest);
else
Expand Down

0 comments on commit 96e09b0

Please sign in to comment.