mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-28 20:43:36 +01:00
Clean up style mismatch
This commit is contained in:
parent
ddf340cccd
commit
a735e074d8
3 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue