From ae18d592523ed46fedcc570f71728a568c2fa77f Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 31 Oct 2025 18:34:54 +0200 Subject: [PATCH] Initialize variable --- custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index bb4f29ce..2e50b0c9 100644 --- a/custom.cpp +++ b/custom.cpp @@ -6814,7 +6814,7 @@ void custom_reset(bool hardreset, bool keyboardreset) sprhstrt = 0xffff; for (int i = 0; i < 32; i++) { - uae_u16 c; + uae_u16 c = 0; if (i == 0) { c = ((ecs_denise && !aga_mode) || denisea1000) ? 0xfff : 0x000; } else { -- 2.47.3