mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-04-10 15:39:06 +00:00
Add HGR Visualizer support for updateScreenHires40Simplified() -> UpdateHiResCell()
This commit is contained in:
parent
44071694f5
commit
5bea346b83
@ -588,7 +588,7 @@ static void CopySource(int w, int h, int sx, int sy, bgra_t *pVideoAddress, cons
|
||||
|
||||
void UpdateHiResCell (int x, int y, uint16_t addr, bgra_t *pVideoAddress)
|
||||
{
|
||||
uint8_t *pMain = MemGetMainPtr(addr);
|
||||
uint8_t *pMain = MemGetMainPtrWithLC(addr);
|
||||
BYTE byteval1 = (x > 0) ? *(pMain-1) : 0;
|
||||
BYTE byteval2 = *(pMain);
|
||||
BYTE byteval3 = (x < 39) ? *(pMain+1) : 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user