summaryrefslogtreecommitdiff
path: root/games-emulation/melonds-jg/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-15 17:55:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-15 17:55:24 +0000
commit3392d5e937023e57811edc670b0ed7d3aba55c6d (patch)
tree32c103a9b86223dcc05105e88f05d471bcaf0886 /games-emulation/melonds-jg/files
parent046c3c0984fd20387a9f86cdd0842fd81e70d94f (diff)
gentoo auto-resync : 15:01:2023 - 17:55:24
Diffstat (limited to 'games-emulation/melonds-jg/files')
-rw-r--r--games-emulation/melonds-jg/files/melonds-jg-0.9.5-format.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/games-emulation/melonds-jg/files/melonds-jg-0.9.5-format.patch b/games-emulation/melonds-jg/files/melonds-jg-0.9.5-format.patch
new file mode 100644
index 000000000000..f107b6b20335
--- /dev/null
+++ b/games-emulation/melonds-jg/files/melonds-jg-0.9.5-format.patch
@@ -0,0 +1,27 @@
+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;