mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
(Android) Buildfix
This commit is contained in:
parent
9e668e1673
commit
41b069462d
@ -463,10 +463,11 @@ static void android_input_poll_main_cmd(void)
|
||||
break;
|
||||
case APP_CMD_LOST_FOCUS:
|
||||
{
|
||||
bool disable_accelerometer = (android_app->sensor_state_mask &
|
||||
runloop_state_t *runloop_st = runloop_state_get_ptr();
|
||||
bool disable_accelerometer = (android_app->sensor_state_mask &
|
||||
(UINT64_C(1) << RETRO_SENSOR_ACCELEROMETER_ENABLE)) &&
|
||||
android_app->accelerometerSensor;
|
||||
bool disable_gyroscope = (android_app->sensor_state_mask &
|
||||
bool disable_gyroscope = (android_app->sensor_state_mask &
|
||||
(UINT64_C(1) << RETRO_SENSOR_GYROSCOPE_ENABLE)) &&
|
||||
android_app->gyroscopeSensor;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user