mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-04-14 09:37:14 +00:00
Add HGR Visualizer support for updateScreenSingleHires40Duochrome() -> UpdateHiResDuochromeCell()
This commit is contained in:
parent
7188ca9e65
commit
db103c2d46
@ -1104,7 +1104,7 @@ void UpdateText80ColorCell(int x, int y, uint16_t addr, bgra_t* pVideoAddress, u
|
||||
// Duochrome HGR (some RGB cards only)
|
||||
void UpdateHiResDuochromeCell(int x, int y, uint16_t addr, bgra_t* pVideoAddress)
|
||||
{
|
||||
BYTE bits = *MemGetMainPtr(addr);
|
||||
BYTE bits = *MemGetMainPtrWithLC(addr);
|
||||
BYTE val = *MemGetAuxPtr(addr);
|
||||
const uint8_t foreground = val >> 4;
|
||||
const uint8_t background = val & 0x0F;
|
||||
|
Loading…
x
Reference in New Issue
Block a user