Currently not actually used
| 1145 | |
| 1146 | // Currently not actually used |
| 1147 | void copyTile(u8 *src,u16 *dest) { |
| 1148 | for (int y=0; y<8; y++) { |
| 1149 | dest[y*2] = 0; |
| 1150 | dest[y*2+1] = 0; |
| 1151 | int index = y*2; |
| 1152 | for (int x=0; x<8; x++) { |
| 1153 | int colorid; |
| 1154 | colorid = !!(src[index] & (0x80>>x)); |
| 1155 | colorid |= !!(src[index+1] & (0x80>>x))<<1; |
| 1156 | int orValue = (colorid<<((x%4)*4)); |
| 1157 | dest[y*2+x/4] |= orValue; |
| 1158 | } |
| 1159 | } |
| 1160 | } |
| 1161 | |
| 1162 | void drawScreen() |
| 1163 | { |
nothing calls this directly
no outgoing calls
no test coverage detected