Fix for compiler sprintf usage warning: too many arguments for format.

This commit is contained in:
harry 2023-01-07 02:52:55 -05:00
parent 4c71af3212
commit 2c5c3a9fe4
1 changed files with 2 additions and 2 deletions

View File

@ -373,9 +373,9 @@ void FCEU_VSUniCheck(uint64 md5partial, int *MapperNo, uint8 *Mirroring) {
sprintf(gigastr + strlen(gigastr), "Vs. System PPU should be set to \"%s\". ", mstr[vs->ppu]);
}
if (tofix & 32)
sprintf(gigastr + strlen(gigastr), "The controller type should be set to zapper. ", MapperNo);
sprintf(gigastr + strlen(gigastr), "The controller type should be set to zapper. ");
if (tofix & 64)
sprintf(gigastr + strlen(gigastr), "The controllers should be swapped. ", MapperNo);
sprintf(gigastr + strlen(gigastr), "The controllers should be swapped. ");
strcat(gigastr, "\n");
FCEU_printf("%s", gigastr);
}