sinclair/specnext.cpp: fix gcc11 warning (#12478)

This commit is contained in:
holub 2024-06-14 03:44:11 -04:00 committed by GitHub
parent 85624c486d
commit 4ac2966806
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,7 @@ void specnext_sprites_device::update_sprites_cache()
m_sprites_cache.clear();
m_sprites_cache.reserve(128);
sprite_data *anchor;
sprite_data *anchor = nullptr;
bool anchor_vis = false;
u8 *sprite_attr = m_sprite_attr_ram;
for (auto i = 0; i < 128; i++, sprite_attr += 8)