KA10: Clean up coverity error.

This commit is contained in:
Richard Cornwell 2022-03-15 21:30:55 -04:00
parent af6665be05
commit 3d3675edbc

View file

@ -2934,6 +2934,7 @@ int Mem_read_byte(int n, uint16 *data, int byte) {
need -= 16;
else
need -= 8;
if (need >= 0)
*data |= val << need;
}
return s;