mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
Reset Add buffer when hit condition is triggered
This commit is contained in:
parent
2b02616512
commit
44d3561468
@ -1691,11 +1691,11 @@ static int cheevos_test_cond_set(const cheevos_condset_t *condset,
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( (cheevos_locals.add_hits > 0) &&
|
||||
(cond->req_hits != 0) &&
|
||||
if ( (cond->req_hits != 0) &&
|
||||
(cond->curr_hits + cheevos_locals.add_hits) >= cond->req_hits)
|
||||
{
|
||||
cheevos_locals.add_hits = 0;
|
||||
cheevos_locals.add_buffer = 0;
|
||||
cheevos_locals.add_hits = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user