Whoops... removed accidental Y-mirror in simulat0r
This commit is contained in:
parent
bd047cbe5a
commit
8c4ceb16aa
|
@ -100,7 +100,7 @@ public:
|
||||||
for (int x = 0; x < dimx; ++x) {
|
for (int x = 0; x < dimx; ++x) {
|
||||||
for(int y=0; y<dimy; ++y) {
|
for(int y=0; y<dimy; ++y) {
|
||||||
int color;
|
int color;
|
||||||
color=lcdGetPixel((GLOBAL(lcdmirror) /* LCD_MIRRORX */ )?(RESX-x-1):x,( 1 /* LCD_MIRRORY */)?(RESY-y-1):y)?colorInvertedPixelOn:colorInvertedPixelOff;
|
color=lcdGetPixel((GLOBAL(lcdmirror) /* LCD_MIRRORX */ )?(RESX-x-1):x,( 0 /* LCD_MIRRORY */)?(RESY-y-1):y)?pixelOn:pixelOff;
|
||||||
|
|
||||||
for(int minix=0; minix<pixw; ++minix) {
|
for(int minix=0; minix<pixw; ++minix) {
|
||||||
for(int miniy=0; miniy<pixh; ++miniy) {
|
for(int miniy=0; miniy<pixh; ++miniy) {
|
||||||
|
|
|
@ -12,7 +12,7 @@ void simlcdDisplayUpdate() {
|
||||||
|
|
||||||
for(int y=0; y<RESY; ++y) {
|
for(int y=0; y<RESY; ++y) {
|
||||||
for(int x=0; x<RESX; ++x) {
|
for(int x=0; x<RESX; ++x) {
|
||||||
write(1,(lcdGetPixel((GLOBAL(lcdmirror) /* LCD_MIRRORX */ )?(RESX-x-1):x,(1 /* & LCD_MIRRORY */)?(RESY-y-1):y)?symbolOn:symbolOff),1);
|
write(1,(lcdGetPixel((GLOBAL(lcdmirror) /* LCD_MIRRORX */ )?(RESX-x-1):x,(0 /* & LCD_MIRRORY */)?(RESY-y-1):y)?symbolOn:symbolOff),1);
|
||||||
}
|
}
|
||||||
write(1,("\n"),1);
|
write(1,("\n"),1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue