JEGA: Fix two uninitialized variables.

This commit is contained in:
OBattler
2025-03-28 08:09:51 +01:00
parent 8f6f21b57e
commit 6366ff7580

View File

@@ -250,9 +250,9 @@ jega_render_text(void *priv)
int sc_wide = *sc - jega->start_scan_count;
const bool cursoron = (blinked || jega->cursorblink_disable) &&
(*sc >= jega->regs[RCCSL]) && (*sc <= jega->regs[RCCEL]);
uint32_t attr_basic = 0;
uint32_t chr_first;
uint32_t attr_basic;
int fg;
int fg = 0;
int bg;
for (int x = 0; x < (*hdisp + *scrollcache); x += charwidth) {