mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-02 08:08:50 +00:00
Fixed Add/Sub source conditions
This commit is contained in:
parent
7846f0312b
commit
3010b8ab2e
@ -1929,14 +1929,14 @@ static int cheevos_test_cond_set(const cheevos_condset_t *condset,
|
||||
if (cond->type == CHEEVOS_COND_TYPE_ADD_SOURCE)
|
||||
{
|
||||
cheevos_locals.add_buffer += cheevos_get_var_value(&cond->source);
|
||||
set_valid = 1;
|
||||
set_valid &= 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (cond->type == CHEEVOS_COND_TYPE_SUB_SOURCE)
|
||||
{
|
||||
cheevos_locals.add_buffer -= cheevos_get_var_value(&cond->source);
|
||||
set_valid = 1;
|
||||
set_valid &= 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user