Style nits

This commit is contained in:
LibretroAdmin 2022-10-29 19:13:17 +02:00
parent c1a3085939
commit 8825eea884
1 changed files with 8 additions and 7 deletions

View File

@ -3229,7 +3229,8 @@ bool input_keyboard_line_event(
const char * word = (char*) &character; const char * word = (char*) &character;
static unsigned composition = 0; static unsigned composition = 0;
if ( character & 0xFF000000 ) /* COMPSTR:0x08000000, RESULTSTR:0x80000000 END:0x01000000*/ /* COMPSTR:0x08000000, RESULTSTR:0x80000000 END:0x01000000*/
if (character & 0xFF000000)
{ {
size_t len = strlen((char*)&composition); size_t len = strlen((char*)&composition);
if ( (len > 0) if ( (len > 0)
@ -3746,10 +3747,10 @@ int16_t input_state_device(
#ifdef HAVE_OVERLAY #ifdef HAVE_OVERLAY
/* Check if overlay is active and button /* Check if overlay is active and button
* corresponding to 'id' has been pressed */ * corresponding to 'id' has been pressed */
if ((port == 0) && if ( (port == 0)
input_st->overlay_ptr && && input_st->overlay_ptr
input_st->overlay_ptr->alive && && input_st->overlay_ptr->alive
BIT256_GET(input_st->overlay_ptr->overlay_state.buttons, id)) && BIT256_GET(input_st->overlay_ptr->overlay_state.buttons, id))
{ {
#ifdef HAVE_MENU #ifdef HAVE_MENU
bool menu_driver_alive = menu_state_get_ptr()->flags & bool menu_driver_alive = menu_state_get_ptr()->flags &