mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-16 10:08:10 +00:00
Fix array subscript above array bounds error
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5219 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
0df5bdbe0f
commit
9f4576f08b
@ -1061,7 +1061,7 @@ void helper_st_asi(target_ulong addr, uint64_t val, int asi, int size)
|
||||
break;
|
||||
case 0x01c00a04: /* MXCC control register */
|
||||
if (size == 4)
|
||||
env->mxccregs[3] = (env->mxccregs[0xa] & 0xffffffff00000000ULL)
|
||||
env->mxccregs[3] = (env->mxccregs[3] & 0xffffffff00000000ULL)
|
||||
| val;
|
||||
else
|
||||
DPRINTF_MXCC("%08x: unimplemented access size: %d\n", addr,
|
||||
|
Loading…
x
Reference in New Issue
Block a user