Add kludge for sprintf -> npf_snprintf in mujs

This commit is contained in:
Alec Murphy 2025-06-10 09:25:26 -04:00
parent a25b25984f
commit f1fe3a6a97
4 changed files with 9 additions and 18 deletions

View file

@ -241,7 +241,6 @@ U0 strcmp()
{
PUSH_SYSV_REGS
GET_SYSV_ARGS
//"strcmp: '%s', '%s'\n", p0, p1;
StrCmp(p0, p1);
POP_SYSV_REGS
}
@ -385,11 +384,3 @@ U0 strstr()
POP_SYSV_REGS
}
U0 sprintf()
{
PUSH_SYSV_REGS
GET_SYSV_ARGS
StrPrint(p0, p1, p2, p3, p4, p5);
POP_SYSV_REGS
}