Buildfixes
This commit is contained in:
parent
6d9c9e2b2c
commit
a1165664a6
|
@ -2038,9 +2038,9 @@ static void task_auto_translate_handler(retro_task_t *task)
|
||||||
{
|
{
|
||||||
int *mode_ptr = (int*)task->user_data;
|
int *mode_ptr = (int*)task->user_data;
|
||||||
runloop_state_t *runloop_st = &runloop_state;
|
runloop_state_t *runloop_st = &runloop_state;
|
||||||
|
access_state_t *access_st = access_state_get_ptr();
|
||||||
#ifdef HAVE_ACCESSIBILITY
|
#ifdef HAVE_ACCESSIBILITY
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
access_state_t *access_st = access_state_get_ptr();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (task_get_cancelled(task))
|
if (task_get_cancelled(task))
|
||||||
|
@ -2156,7 +2156,6 @@ static void handle_translation_cb(
|
||||||
bool accessibility_enable = settings->bools.accessibility_enable;
|
bool accessibility_enable = settings->bools.accessibility_enable;
|
||||||
unsigned accessibility_narrator_speech_speed = settings->uints.accessibility_narrator_speech_speed;
|
unsigned accessibility_narrator_speech_speed = settings->uints.accessibility_narrator_speech_speed;
|
||||||
access_state_t *access_st = access_state_get_ptr();
|
access_state_t *access_st = access_state_get_ptr();
|
||||||
#endif
|
|
||||||
#ifdef HAVE_GFX_WIDGETS
|
#ifdef HAVE_GFX_WIDGETS
|
||||||
bool gfx_widgets_paused = video_st->widgets_paused;
|
bool gfx_widgets_paused = video_st->widgets_paused;
|
||||||
|
|
||||||
|
@ -2166,6 +2165,7 @@ static void handle_translation_cb(
|
||||||
&& access_st->ai_service_auto == 2)
|
&& access_st->ai_service_auto == 2)
|
||||||
gfx_widgets_ai_service_overlay_unload();
|
gfx_widgets_ai_service_overlay_unload();
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (access_st->ai_service_auto != 2)
|
if (access_st->ai_service_auto != 2)
|
||||||
|
|
Loading…
Reference in New Issue