Whoops... removed accidental Y-mirror in simulat0r

This commit is contained in:
bernd 2011-08-01 16:51:14 +02:00
parent bd047cbe5a
commit 8c4ceb16aa
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ public:
for (int x = 0; x < dimx; ++x) {
for(int y=0; y<dimy; ++y) {
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 miniy=0; miniy<pixh; ++miniy) {

View File

@ -12,7 +12,7 @@ void simlcdDisplayUpdate() {
for(int y=0; y<RESY; ++y) {
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);
}