mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-03 18:12:14 +02:00
pr comment: ProductModel -> SetSysProductModel
This commit is contained in:
parent
1eb1fcecd2
commit
a8e3a6c63b
@ -25,14 +25,14 @@ typedef enum {
|
|||||||
|
|
||||||
/// Console Product Models
|
/// Console Product Models
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ProductModel_INVALID = 0, ///< Invalid Model
|
SetSysProductModel_Invalid = 0, ///< Invalid Model
|
||||||
ProductModel_NX = 1, ///< Erista Model
|
SetSysProductModel_Nx = 1, ///< Erista Model
|
||||||
ProductModel_COPPER = 2, ///< Erista "Simulation" Model
|
SetSysProductModel_Copper = 2, ///< Erista "Simulation" Model
|
||||||
ProductModel_IOWA = 3, ///< Mariko Model
|
SetSysProductModel_Iowa = 3, ///< Mariko Model
|
||||||
ProductModel_HOAG = 4, ///< Mariko Lite Model
|
SetSysProductModel_Hoag = 4, ///< Mariko Lite Model
|
||||||
ProductModel_CALCIO = 5, ///< Mariko "Simulation" Model
|
SetSysProductModel_Calcio = 5, ///< Mariko "Simulation" Model
|
||||||
ProductModel_AULA = 6, ///< Mariko Pro Model(?)
|
SetSysProductModel_Aula = 6, ///< Mariko Pro Model(?)
|
||||||
} ProductModel;
|
} SetSysProductModel;
|
||||||
|
|
||||||
/// IDs for Language.
|
/// IDs for Language.
|
||||||
typedef enum
|
typedef enum
|
||||||
@ -1403,7 +1403,7 @@ Result setsysSetDeviceNickname(const SetSysDeviceNickName *nickname);
|
|||||||
* @brief GetProductModel
|
* @brief GetProductModel
|
||||||
* @param[out] out Output ProductModel.
|
* @param[out] out Output ProductModel.
|
||||||
*/
|
*/
|
||||||
Result setsysGetProductModel(ProductModel *model);
|
Result setsysGetProductModel(SetSysProductModel *model);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief GetLdnChannel
|
* @brief GetLdnChannel
|
||||||
|
@ -637,7 +637,7 @@ Result setsysSetDeviceNickname(const SetSysDeviceNickName *nickname) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Result setsysGetProductModel(ProductModel *model) {
|
Result setsysGetProductModel(SetSysProductModel *model) {
|
||||||
u32 product_model = 0;
|
u32 product_model = 0;
|
||||||
Result rc = _setCmdNoInOutU32(&g_setsysSrv, &product_model, 79);
|
Result rc = _setCmdNoInOutU32(&g_setsysSrv, &product_model, 79);
|
||||||
if (R_SUCCEEDED(rc) && model) *model = product_model;
|
if (R_SUCCEEDED(rc) && model) *model = product_model;
|
||||||
|
Loading…
Reference in New Issue
Block a user