KA10: Clean up coverity error.
This commit is contained in:
parent
af6665be05
commit
3d3675edbc
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue