fix bx_banshee_c::mem_read unknown access length warning

This commit is contained in:
Shwartsman 2023-12-16 08:24:08 +02:00
parent e67fb33443
commit 0fbf559276

View File

@ -841,6 +841,10 @@ void bx_banshee_c::mem_read(bx_phy_address addr, unsigned len, void *data)
break;
case 4:
*((Bit32u*)data) = (Bit32u)value;
break;
case 8:
*((Bit64u*)data) = (Bit64u)value;
break;
default:
BX_ERROR(("bx_banshee_c::mem_read unsupported length %d", len));
}