From 48fc3415c843485936f7462a4c1e1030ce6e007d Mon Sep 17 00:00:00 2001 From: Jamiras Date: Wed, 3 Apr 2024 14:30:08 -0600 Subject: [PATCH] only show loading indicator with verbose messages on --- cheevos/cheevos.c | 3 ++- cheevos/cheevos_locals.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cheevos/cheevos.c b/cheevos/cheevos.c index a6367cbe2f0..f55175fd1db 100644 --- a/cheevos/cheevos.c +++ b/cheevos/cheevos.c @@ -3263,7 +3263,8 @@ bool rcheevos_load(const void *data) rc_hash_reset_cdreader_hooks(); #if defined(HAVE_GFX_WIDGETS) - gfx_widget_set_cheevos_set_loading(true); + if (settings->bools.cheevos_verbose_enable) + gfx_widget_set_cheevos_set_loading(true); #endif rc_client_begin_identify_and_load_game(rcheevos_locals.client, RC_CONSOLE_UNKNOWN, diff --git a/cheevos/cheevos_locals.h b/cheevos/cheevos_locals.h index 1c90708a42b..aa57027780d 100644 --- a/cheevos/cheevos_locals.h +++ b/cheevos/cheevos_locals.h @@ -220,7 +220,6 @@ typedef struct rcheevos_locals_t #ifdef HAVE_RC_CLIENT bool hardcore_allowed; /* prevents enabling hardcore if illegal settings detected */ - bool is_disconnected; /* indicates there are pending requests */ #else #ifdef HAVE_GFX_WIDGETS