Esempio n. 1
0
void GUI_Log2(const char *s, int p0, int p1) {
  char ac[50 + 20];
  char* sOut = ac;
  strncpy(ac, s, 49);
  sOut += strlen(sOut);
  GUI__AddSpaceHex(p0, 8, &sOut);
  GUI__AddSpaceHex(p1, 8, &sOut);
  GUI_Log(ac);
}
Esempio n. 2
0
/*********************************************************************
*
*       GUI_ErrorOut2
*/
void GUI_ErrorOut2(const char *s, int p0, int p1) {
  char ac[MAXLEN + 20];
  char* sOut = ac;
  GUI_MEMSET((U8*)ac, 0, sizeof(ac));
  _CopyString(ac, s, MAXLEN);
  sOut += strlen(sOut);
  GUI__AddSpaceHex(p0, 8, &sOut);
  GUI__AddSpaceHex(p1, 8, &sOut);
  GUI_ErrorOut(ac);
}
void GUI_ErrorOut2(const char *s, int p0, int p1) {
  char ac[50 + 20];
  char* sOut = ac;
  memset(ac, 0, sizeof(ac));
  strncpy(ac, s, 49);
  sOut += strlen(sOut);
  GUI__AddSpaceHex(p0, 8, &sOut);
  GUI__AddSpaceHex(p1, 8, &sOut);
  GUI_ErrorOut(ac);
}
void GUI_ErrorOut4(const char *s, int p0, int p1, int p2, int p3) {
  char ac[50 + 40] = {0};
  char* sOut = ac;
  memset(ac, 0, sizeof(ac));
  strncpy(ac, s, 49);
  sOut += strlen(sOut);
  GUI__AddSpaceHex(p0, 8, &sOut);
  GUI__AddSpaceHex(p1, 8, &sOut);
  GUI__AddSpaceHex(p2, 8, &sOut);
  GUI__AddSpaceHex(p3, 8, &sOut);
  GUI_ErrorOut(ac);
}