fix bx_banshee_c::mem_read unknown access length warning
This commit is contained in:
parent
e67fb33443
commit
0fbf559276
@ -841,6 +841,10 @@ void bx_banshee_c::mem_read(bx_phy_address addr, unsigned len, void *data)
|
|||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
*((Bit32u*)data) = (Bit32u)value;
|
*((Bit32u*)data) = (Bit32u)value;
|
||||||
|
break;
|
||||||
|
case 8:
|
||||||
|
*((Bit64u*)data) = (Bit64u)value;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
BX_ERROR(("bx_banshee_c::mem_read unsupported length %d", len));
|
BX_ERROR(("bx_banshee_c::mem_read unsupported length %d", len));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user