Use bool instead of uint8_t

This commit is contained in:
Joel 2017-08-06 12:15:01 -04:00
parent 83dfd10c44
commit ff1b9ffde5
4 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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.

View File

@ -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();

View File

@ -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();