mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Set ol->resolve_pos to 0 beforehand
This commit is contained in:
parent
d510a502e5
commit
ec339c184d
@ -583,8 +583,9 @@ bool input_overlay_load_overlays(input_overlay_t *ol)
|
||||
if (!ol->overlays)
|
||||
goto error;
|
||||
|
||||
ol->size = ol->config.overlays.size;
|
||||
ol->pos = 0;
|
||||
ol->size = ol->config.overlays.size;
|
||||
ol->pos = 0;
|
||||
ol->resolve_pos = 0;
|
||||
|
||||
for (i = 0; i < ol->size; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user