mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Get up-to-date with master
This commit is contained in:
parent
0495ea07c8
commit
6a08ca6a18
@ -226,7 +226,7 @@ void cheevos_var_patch_addr(cheevos_var_t* var, cheevos_console_t console)
|
|||||||
unsigned addr = var->value;
|
unsigned addr = var->value;
|
||||||
var->bank_id = (int)(desc - system->mmaps.descriptors);
|
var->bank_id = (int)(desc - system->mmaps.descriptors);
|
||||||
var->value = (unsigned)cheevos_var_reduce(
|
var->value = (unsigned)cheevos_var_reduce(
|
||||||
(addr - desc->core.start) & desc->disconnect_mask,
|
(var->value - desc->core.start) & desc->disconnect_mask,
|
||||||
desc->core.disconnect);
|
desc->core.disconnect);
|
||||||
|
|
||||||
if (var->value >= desc->core.len)
|
if (var->value >= desc->core.len)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user