thumb_decode_##type(); \
u32 __rn = prepare_load_reg(reg_rn, _rs); \
u32 __rd = prepare_store_reg(reg_rd, _rd); \
- generate_load_reg(reg_rn, _rs); \
thumb_generate_op_##op_type(name, _rd, _rs, _rn); \
complete_store_reg(__rd, _rd); \
} \
cmp r3, #16 @ if(blend_a > 16)\r
movgt r3, #16 @ blend_a = 16\r
cmp r4, #16 @ if(blend_b > 16)\r
- movgt r3, #16 @ blend_b = 16\r
+ movgt r4, #16 @ blend_b = 16\r
\r
ldr r14, 6b + 4 @ r14 = palette_ram_converted\r
ldr r12, 6b + 8 @ r12 = 0x04000200\r
for(i = 0; i < 10; i++)
{
- cheats[i].cheat_active = file_options[3 + i] % 2;
+ cheats[i].cheat_active = file_options[4 + i] % 2;
cheats[i].cheat_name[0] = 0;
}