1 /*---------------------------------------------------------------------------* 2 3 Copyright (C) 2012 Nintendo. All rights reserved. 4 5 These coded instructions, statements, and computer programs contain 6 proprietary information of Nintendo of America Inc. and/or Nintendo 7 Company Ltd., and are protected by Federal copyright law. They may 8 not be disclosed to third parties or copied or duplicated in any form, 9 in whole or in part, without the prior written consent of Nintendo. 10 11 *---------------------------------------------------------------------------*/ 12 13 #ifndef NN_SAVE_SAVE_TYPES_H_ 14 #define NN_SAVE_SAVE_TYPES_H_ 15 16 typedef s32 SAVEStatus; 17 18 #define SAVE_STATUS_OK FS_STATUS_OK 19 #define SAVE_STATUS_NOT_FOUND FS_STATUS_NOT_FOUND 20 #define SAVE_STATUS_DEVICE_FULL FS_STATUS_STORAGE_FULL // SAVE_STATUS_DEVICE_FULL is deprecated. Instead, use SAVE_STATUS_STORAGE_FULL. 21 #define SAVE_STATUS_STORAGE_FULL FS_STATUS_STORAGE_FULL 22 #define SAVE_STATUS_FATAL_ERROR FS_STATUS_FATAL_ERROR 23 24 #define SAVE_STATUS_BUFFER_TOO_SHORT (FS_STATUS_FATAL_ERROR - 1) 25 26 #endif // NN_SAVE_SAVE_TYPES_H_ 27