Subversion Repositories freemyipod

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 7
Line 74... Line 74...
74
    memset(&framebuf[sizeof(framebuf) - ROWBYTES * offset],
74
    memset(&framebuf[sizeof(framebuf) - ROWBYTES * offset],
75
           -1, ROWBYTES * offset);
75
           -1, ROWBYTES * offset);
76
  }
76
  }
77
  renderchar(&framebuf[OFFSETBYTES + ROWBYTES * current_row
77
  renderchar(&framebuf[OFFSETBYTES + ROWBYTES * current_row
78
                     + COLBYTES * current_col],
78
                     + COLBYTES * current_col],
79
             fgcolor, bgcolor, string);
79
             fgcolor, bgcolor, string, LINEBYTES);
80
}
80
}
81
 
81
 
82
void lcdconsole_puts(const char* string, int fgcolor, int bgcolor)
82
void lcdconsole_puts(const char* string, int fgcolor, int bgcolor)
83
{
83
{
84
  while (*string) lcdconsole_putc(*string++, fgcolor, bgcolor);
84
  while (*string) lcdconsole_putc(*string++, fgcolor, bgcolor);