Upstream-PR: https://github.com/melonDS-emu/melonDS/pull/1532 Upstream-Commit: https://github.com/melonDS-emu/melonDS/commit/bd9c614cebe47f809ae125a4bf59649191332a3a melonds-jg-Commit: https://gitlab.com/jgemu/melonds/-/commit/bd9c614cebe47f809ae125a4bf59649191332a3a From bd9c614cebe47f809ae125a4bf59649191332a3a Mon Sep 17 00:00:00 2001 From: Rupert Carmichael <54966017+carmiker@users.noreply.github.com> Date: Fri, 30 Dec 2022 15:13:39 -0500 Subject: [PATCH] Wifi: -Wformat warning caused by missing printf argument (#1532) --- src/Wifi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wifi.cpp b/src/Wifi.cpp index c2614e7..5373187 100644 --- a/src/Wifi.cpp +++ b/src/Wifi.cpp @@ -872,7 +872,7 @@ bool ProcessTX(TXSlot* slot, int num) } if ((num != 5) && (RAM[slot->Addr+4] > 0)) - printf("SLOT %d RETRY COUNTER %d\n", RAM[slot->Addr+4]); + printf("SLOT %d RETRY COUNTER %d\n", num, RAM[slot->Addr+4]); // set TX addr IOPORT(W_RXTXAddr) = slot->Addr >> 1;