Clean up style mismatch

This commit is contained in:
calamari 2022-09-25 11:23:07 -07:00
parent ddf340cccd
commit a735e074d8
3 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ static int __osmenu_id;
static void __osmenu_handler(void)
{
if (isSlim())
if(isSlim())
__PutKeyCode(0x07, 0x0A, 0);
else
__PutKeyCode(0x04, 0x09, 0);

View file

@ -148,18 +148,18 @@ void iokbd_scan(uint8_t *scan)
for(int i = 0; i < 12; i++) scan[i] = iokbd_row(i);
/* Translate fx-9860G Slim scancodes to standard scancodes */
if (isSlim())
if(isSlim())
{
uint8_t slim_scan[12];
for (uint i = 0; i < 10; i++)
for(uint i = 0; i < 10; i++)
{
slim_scan[i] = scan[i];
scan[i] = 0x00;
}
for (uint i = 0; i < SCANCODE_COUNT; ++i)
for(uint i = 0; i < SCANCODE_COUNT; ++i)
{
if (slim_scan[SLIM_SC[i] >> 8] & (SLIM_SC[i] & 0xFF))
if(slim_scan[SLIM_SC[i] >> 8] & (SLIM_SC[i] & 0xFF))
scan[SLIM_TR[i] >> 8] |= (SLIM_TR[i] & 0xFF);
}
}

View file

@ -168,7 +168,7 @@ void t6k11_backlight(int setting)
TODO: Document the PFC to remove these addresses */
if(isSH3())
{
if (isSlim())
if(isSlim())
{
port = (void *)0xa4000126;
mask = 0x20;