mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
GLK: Fix build when DEBUG defined
This commit is contained in:
parent
e15c3b35db
commit
1ae121a99d
@ -161,11 +161,6 @@ int errfmt(char *outbuf, int outbufl, const char *fmt, int argc, const erradef *
|
||||
return(outlen);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#error longjump unsupported in ScummVM
|
||||
#endif /* DEBUG */
|
||||
|
||||
|
||||
|
||||
#ifdef ERR_NO_MACRO
|
||||
|
||||
|
@ -366,7 +366,7 @@ int linfget(lindef *lin)
|
||||
/* make sure buffer pointer is correct */
|
||||
lin->linbuf = linf->linfbuf;
|
||||
|
||||
LINFDEBUG(printf("%s\n", linf->linfbuf));
|
||||
LINFDEBUG(debug(10, "%s\n", linf->linfbuf));
|
||||
|
||||
/* success */
|
||||
return FALSE;
|
||||
|
@ -178,7 +178,7 @@ mcsseg mcsout(mcscxdef *ctx, uint objid, uchar *ptr, ushort siz,
|
||||
mcsseg cur;
|
||||
ushort minsiz = 0;
|
||||
|
||||
IF_DEBUG(printf("<< mcsout: objid=%d, ptr=%lx, siz=%u, oldseg=%u >>\n",
|
||||
IF_DEBUG(debug(10, "<< mcsout: objid=%d, ptr=%lx, siz=%u, oldseg=%u >>\n",
|
||||
objid, (unsigned long)ptr, siz, oldseg));
|
||||
|
||||
/* see if old segment can be reused */
|
||||
@ -258,7 +258,7 @@ mcsseg mcsout(mcscxdef *ctx, uint objid, uchar *ptr, ushort siz,
|
||||
void mcsin(mcscxdef *ctx, mcsseg seg, uchar *ptr, ushort siz) {
|
||||
mcsdsdef *desc = mcsdsc(ctx, seg);
|
||||
|
||||
IF_DEBUG(printf("<< mcsin: seg=%u, ptr=%lx, siz=%d, objid=%u >>\n",
|
||||
IF_DEBUG(debug(10, "<< mcsin: seg=%u, ptr=%lx, siz=%d, objid=%u >>\n",
|
||||
seg, (unsigned long)ptr, siz, desc->mcsdsobj));
|
||||
|
||||
assert(seg < ctx->mcscxmsg);
|
||||
|
Loading…
Reference in New Issue
Block a user