mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
Fix typo that leads to out of bounds array access on big endian systems
This commit is contained in:
parent
4af6e404e8
commit
1481e16abb
@ -2723,7 +2723,7 @@ void helper_vlogefp (ppc_avr_t *r, ppc_avr_t *b)
|
||||
#define VSHIFT(suffix, leftp) \
|
||||
void helper_vs##suffix (ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b) \
|
||||
{ \
|
||||
int shift = b->u8[LO_IDX*0x15] & 0x7; \
|
||||
int shift = b->u8[LO_IDX*15] & 0x7; \
|
||||
int doit = 1; \
|
||||
int i; \
|
||||
for (i = 0; i < ARRAY_SIZE(r->u8); i++) { \
|
||||
|
Loading…
Reference in New Issue
Block a user