Skip to content

Commit

Permalink
Increase file size limit to ~4GB
Browse files Browse the repository at this point in the history
  • Loading branch information
m4xw committed Sep 15, 2019
1 parent 8df5812 commit 0f71443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ int main(int argc, char* argv[])
"sdcard",
1024U * 1024U * 100U, /* 100 MB reserved space, to avoid filling the disk */
false,
1024U * 1024U * 1024U * 2U /* 2GB arbitrary max file size */);
1024U * 1024U * 1024U * 4U - 1 /* ~4GB arbitrary max file size */);

MtpDatabase* mtp_database = new SwitchMtpDatabase();

Expand Down

0 comments on commit 0f71443

Please sign in to comment.