From e08b9b79fe32871d98caaa75a120c5b98ab017a6 Mon Sep 17 00:00:00 2001 From: Princess-of-Sleeping <29831892+Princess-of-Sleeping@users.noreply.github.com> Date: Thu, 15 Apr 2021 10:22:28 +0900 Subject: [PATCH 1/2] Add support to copy file to host0: --- io_process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/io_process.c b/io_process.c index 0f15f1a8..e4adee4c 100644 --- a/io_process.c +++ b/io_process.c @@ -277,7 +277,8 @@ int copy_thread(SceSize args_size, CopyArguments *args) { total += files + folders; // Check memory card free space - if (checkMemoryCardFreeSpace(args->file_list->path, size)) + // If the copy destination is host0 :, the check will fail, so host0: will not be checked. + if (strncmp(args->file_list->path, "host0:", 6) != 0 && checkMemoryCardFreeSpace(args->file_list->path, size)) goto EXIT; // Update thread From 42a25cf162cd43fad7bb4fc6deaa909afa863c2c Mon Sep 17 00:00:00 2001 From: Princess-of-Sleeping <29831892+Princess-of-Sleeping@users.noreply.github.com> Date: Thu, 15 Apr 2021 10:24:21 +0900 Subject: [PATCH 2/2] Fix typo --- io_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_process.c b/io_process.c index e4adee4c..f10d7b99 100644 --- a/io_process.c +++ b/io_process.c @@ -277,7 +277,7 @@ int copy_thread(SceSize args_size, CopyArguments *args) { total += files + folders; // Check memory card free space - // If the copy destination is host0 :, the check will fail, so host0: will not be checked. + // If the copy destination is host0:, the check will fail, so host0: will not be checked. if (strncmp(args->file_list->path, "host0:", 6) != 0 && checkMemoryCardFreeSpace(args->file_list->path, size)) goto EXIT;