Rename functions to avoid redundant term 'NAND'.

This commit is contained in:
Joel16 2017-09-23 11:02:38 -05:00
parent 872a0d5082
commit 0ab770e18a
2 changed files with 8 additions and 8 deletions

View File

@ -60,7 +60,7 @@ Result CFGU_GetRegionCanadaUSA(u8* value);
/** /**
* @brief Gets the system's model. * @brief Gets the system's model.
* @param model Pointer to output the model to. (0 = O3DS, 1 = O3DSXL, 2 = N3DS, 3 = 2DS, 4 = N3DSXL) * @param model Pointer to output the model to. (0 = O3DS, 1 = O3DSXL, 2 = N3DS, 3 = 2DS, 4 = N3DSXL, 5 = N2DSXL)
*/ */
Result CFGU_GetSystemModel(u8* model); Result CFGU_GetSystemModel(u8* model);
@ -139,17 +139,17 @@ Result CFGU_GetSystemLanguage(u8* language);
/** /**
* @brief Deletes the NAND LocalFriendCodeSeed file, then recreates it using the LocalFriendCodeSeed data stored in memory. * @brief Deletes the NAND LocalFriendCodeSeed file, then recreates it using the LocalFriendCodeSeed data stored in memory.
*/ */
Result CFGI_RestoreNANDLocalFriendCodeSeed(void); Result CFGI_RestoreLocalFriendCodeSeed(void);
/** /**
* @brief Deletes the NAND SecureInfo file, then recreates it using the SecureInfo data stored in memory. * @brief Deletes the NAND SecureInfo file, then recreates it using the SecureInfo data stored in memory.
*/ */
Result CFGI_RestoreNANDSecureInfo(void); Result CFGI_RestoreSecureInfo(void);
/** /**
* @brief Deletes the "config" file stored in the NAND Config_Savegame. * @brief Deletes the "config" file stored in the NAND Config_Savegame.
*/ */
Result CFGI_DeleteConfigNANDSavefile(void); Result CFGI_DeleteConfigSavefile(void);
/** /**
* @brief Formats Config_Savegame. * @brief Formats Config_Savegame.

View File

@ -215,7 +215,7 @@ Result CFG_SetConfigInfoBlk8(u32 size, u32 blkID, u8* inData)
return (Result)cmdbuf[1]; return (Result)cmdbuf[1];
} }
Result CFG_UpdateConfigNANDSavegame(void) Result CFG_UpdateConfigSavegame(void)
{ {
Result ret = 0; Result ret = 0;
u32 *cmdbuf = getThreadCommandBuffer(); u32 *cmdbuf = getThreadCommandBuffer();
@ -232,7 +232,7 @@ Result CFGU_GetSystemLanguage(u8* language)
return CFGU_GetConfigInfoBlk2(1, 0xA0002, language); return CFGU_GetConfigInfoBlk2(1, 0xA0002, language);
} }
Result CFGI_RestoreNANDLocalFriendCodeSeed(void) Result CFGI_RestoreLocalFriendCodeSeed(void)
{ {
Result ret = 0; Result ret = 0;
u32 *cmdbuf = getThreadCommandBuffer(); u32 *cmdbuf = getThreadCommandBuffer();
@ -244,7 +244,7 @@ Result CFGI_RestoreNANDLocalFriendCodeSeed(void)
return (Result)cmdbuf[1]; return (Result)cmdbuf[1];
} }
Result CFGI_RestoreNANDSecureInfo(void) Result CFGI_RestoreSecureInfo(void)
{ {
Result ret = 0; Result ret = 0;
u32 *cmdbuf = getThreadCommandBuffer(); u32 *cmdbuf = getThreadCommandBuffer();
@ -256,7 +256,7 @@ Result CFGI_RestoreNANDSecureInfo(void)
return (Result)cmdbuf[1]; return (Result)cmdbuf[1];
} }
Result CFGI_DeleteConfigNANDSavefile(void) Result CFGI_DeleteConfigSavefile(void)
{ {
Result ret = 0; Result ret = 0;
u32 *cmdbuf = getThreadCommandBuffer(); u32 *cmdbuf = getThreadCommandBuffer();