Tested with Deater's Cycle-Counting Megademo
| 1024 | |
| 1025 | // Tested with Deater's Cycle-Counting Megademo |
| 1026 | void UpdateLoResCell (int x, int y, uint16_t addr, bgra_t *pVideoAddress) |
| 1027 | { |
| 1028 | const BYTE val = *MemGetMainPtr(addr); |
| 1029 | |
| 1030 | if ((y & 4) == 0) |
| 1031 | { |
| 1032 | CopySource(14,2, SRCOFFS_LORES+((x & 1) << 1), ((val & 0xF) << 4), pVideoAddress); |
| 1033 | } |
| 1034 | else |
| 1035 | { |
| 1036 | CopySource(14,2, SRCOFFS_LORES+((x & 1) << 1), (val & 0xF0), pVideoAddress); |
| 1037 | } |
| 1038 | } |
| 1039 | |
| 1040 | //=========================================================================== |
| 1041 |
no test coverage detected