From 2c5c3a9fe4798c1a3545893dd16ffcd46a282ec2 Mon Sep 17 00:00:00 2001 From: harry Date: Sat, 7 Jan 2023 02:52:55 -0500 Subject: [PATCH] Fix for compiler sprintf usage warning: too many arguments for format. --- src/vsuni.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vsuni.cpp b/src/vsuni.cpp index 62ae2535..63029e96 100644 --- a/src/vsuni.cpp +++ b/src/vsuni.cpp @@ -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); }