mirror of
https://github.com/badvision/jace.git
synced 2025-02-26 06:29:18 +00:00
Cleanup DHGR code for readability
This commit is contained in:
parent
8833f80138
commit
271dd70f22
@ -310,7 +310,7 @@ public class VideoDHGR extends Video {
|
|||||||
useColor[useColOffset + 1] = (b2 & 0x80) != 0;
|
useColor[useColOffset + 1] = (b2 & 0x80) != 0;
|
||||||
useColor[useColOffset + 2] = (b3 & 0x80) != 0;
|
useColor[useColOffset + 2] = (b3 & 0x80) != 0;
|
||||||
useColor[useColOffset + 3] = (b4 & 0x80) != 0;
|
useColor[useColOffset + 3] = (b4 & 0x80) != 0;
|
||||||
int dhgrWord = 0x07f & b1;
|
int dhgrWord = (0x07f & b1) ;
|
||||||
dhgrWord |= (0x07f & b2) << 7;
|
dhgrWord |= (0x07f & b2) << 7;
|
||||||
dhgrWord |= (0x07f & b3) << 14;
|
dhgrWord |= (0x07f & b3) << 14;
|
||||||
dhgrWord |= (0x07f & b4) << 21;
|
dhgrWord |= (0x07f & b4) << 21;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user