Use bool instead of uint8_t
This commit is contained in:
parent
83dfd10c44
commit
ff1b9ffde5
@ -220,6 +220,6 @@ Result GSPGPU_TriggerCmdReqQueue(void);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets 3D_LEDSTATE to the input state value.
|
* @brief Sets 3D_LEDSTATE to the input state value.
|
||||||
* @param state 0 = 3D LED enable, 1 = 3D LED disable.
|
* @param state False = 3D LED enable, true = 3D LED disable.
|
||||||
*/
|
*/
|
||||||
Result GSPGPU_SetLedForceOff(u8 state);
|
Result GSPGPU_SetLedForceOff(bool state);
|
@ -39,9 +39,9 @@ Result GSPLCD_PowerOffBacklight(u32 screen);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets 3D_LEDSTATE to the input state value.
|
* @brief Sets 3D_LEDSTATE to the input state value.
|
||||||
* @param state 0 = 3D LED enable, 1 = 3D LED disable.
|
* @param state False = 3D LED enable, true = 3D LED disable.
|
||||||
*/
|
*/
|
||||||
Result GSPLCD_SetLedForceOff(u8 state);
|
Result GSPLCD_SetLedForceOff(bool state);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Gets the LCD screens' vendors. Stubbed on old 3ds.
|
* @brief Gets the LCD screens' vendors. Stubbed on old 3ds.
|
||||||
|
@ -430,7 +430,7 @@ Result GSPGPU_RestoreVramSysArea(void)
|
|||||||
return cmdbuf[1];
|
return cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result GSPGPU_SetLedForceOff(u8 state)
|
Result GSPGPU_SetLedForceOff(bool state)
|
||||||
{
|
{
|
||||||
u32 *cmdbuf = getThreadCommandBuffer();
|
u32 *cmdbuf = getThreadCommandBuffer();
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ Result GSPLCD_PowerOffBacklight(u32 screen)
|
|||||||
return cmdbuf[1];
|
return cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result GSPLCD_SetLedForceOff(u8 state)
|
Result GSPLCD_SetLedForceOff(bool state)
|
||||||
{
|
{
|
||||||
u32 *cmdbuf = getThreadCommandBuffer();
|
u32 *cmdbuf = getThreadCommandBuffer();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user