From d286af0647cf97c9659a9142c80b928d3ed3a7a5 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sun, 22 Feb 2026 03:08:47 +0200 Subject: [PATCH] nyx: adjust handling of se return values --- nyx/nyx_gui/frontend/gui_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyx/nyx_gui/frontend/gui_info.c b/nyx/nyx_gui/frontend/gui_info.c index c587ea4b..ffa5e087 100644 --- a/nyx/nyx_gui/frontend/gui_info.c +++ b/nyx/nyx_gui/frontend/gui_info.c @@ -1810,7 +1810,7 @@ static lv_res_t _create_mbox_benchmark(bool sd_bench) for (u32 i = 0; i < rnd_off_cnt; i += 4) { // Generate new random numbers. - while (!se_rng_pseudo(random_numbers, SE_RNG_BLOCK_SIZE)) + while (se_rng_pseudo(random_numbers, SE_RNG_BLOCK_SIZE)) ; // Clamp offsets to 256MB range. random_offsets[i + 0] = random_numbers[0] % sct_rem_4kb;