Change style to conform to ctrulib conventions
This commit is contained in:
parent
6840625bc7
commit
3f400a8ef9
@ -33,5 +33,6 @@ Result GSPLCD_PowerOffBacklight(u32 screen);
|
||||
|
||||
/**
|
||||
* @brief Gets the LCD screens' vendors. Stubbed on old 3ds.
|
||||
* @param vendor Pointer to output the screen vendors to.
|
||||
*/
|
||||
Result GSPLCD_GetVendor(void);
|
||||
Result GSPLCD_GetVendors(u8 *vendors);
|
@ -52,7 +52,7 @@ Result GSPLCD_PowerOffBacklight(u32 screen)
|
||||
return cmdbuf[1];
|
||||
}
|
||||
|
||||
Result GSPLCD_GetVendor(void)
|
||||
Result GSPLCD_GetVendors(u8 *vendors)
|
||||
{
|
||||
u32 *cmdbuf = getThreadCommandBuffer();
|
||||
|
||||
@ -60,7 +60,9 @@ Result GSPLCD_GetVendor(void)
|
||||
|
||||
Result ret=0;
|
||||
if (R_FAILED(ret = svcSendSyncRequest(gspLcdHandle))) return ret;
|
||||
|
||||
if(vendors) *vendors = cmdbuf[2] & 0xFF;
|
||||
|
||||
return cmdbuf[2];
|
||||
return cmdbuf[1];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user