sh2 drc, fix powerpc cache handling

This commit is contained in:
kub 2021-04-21 21:16:42 +02:00
parent 448b634ccc
commit f7615fc283
3 changed files with 5 additions and 4 deletions

View file

@ -47,7 +47,7 @@ u16 scan_block(u32 base_pc, int is_slave, u8 *op_flags, u32 *end_pc,
#elif defined(__riscv__) || defined(__riscv)
#define DRC_SR_REG "s11"
#define DRC_REG_LL 0 // no ABI for (__ILP32__ && __riscv_xlen != 32)
#elif defined(__powerpc__)
#elif defined(__powerpc__) || defined(__ppc__)
#define DRC_SR_REG "r28"
#define DRC_REG_LL 0 // no ABI for __ILP32__
#elif defined(__i386__)