diff --git a/include/nn/temp/temp.h b/include/nn/temp/temp.h index da3615334..86610ce2d 100644 --- a/include/nn/temp/temp.h +++ b/include/nn/temp/temp.h @@ -9,8 +9,10 @@ extern "C" { typedef enum TEMPTargetPreference { - TEMP_PREF_DEFAULT = 0, - TEMP_PREF_INTERNAL_STORAGE = 1, + //! Use whichever target has more available space + TEMP_PREF_DEFAULT = 0, + //! Always prefer USB + TEMP_PREF_USB = 1, } TEMPTargetPreference; typedef uint64_t TEMPDirId; @@ -22,7 +24,7 @@ void TEMPShutdown(); FSStatus -TEMPCreateAndInitTempDir(uint32_t size, +TEMPCreateAndInitTempDir(uint32_t maxSize, TEMPTargetPreference pref, TEMPDirId *outDir);