From 55980659853185266b8c2ba566479fb6226dbbcc Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 11 Aug 2024 03:14:14 +0200 Subject: [PATCH] Netplay.cpp should not include main.h, also fix a format warning --- src/net/Netplay.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net/Netplay.cpp b/src/net/Netplay.cpp index 68caa43d..1dc04282 100644 --- a/src/net/Netplay.cpp +++ b/src/net/Netplay.cpp @@ -25,7 +25,6 @@ #include "NDS.h" #include "NDSCart.h" -#include "main.h" //#include "IPC.h" #include "Netplay.h" //#include "Input.h" @@ -442,7 +441,7 @@ printf("[MC] start blob type=%d len=%d\n", type, len); u8* dst = Blobs[type]; if (!dst) return; if (BlobLens[type] != len) return; -printf("[MC] recv blob data, type=%d pos=%08X len=%08X data=%08X\n", type, pos, len, pkt->dataLength-16); + printf("[MC] recv blob data, type=%d pos=%08X len=%08X data=%08lX\n", type, pos, len, pkt->dataLength-16); memcpy(&dst[pos], &buf[16], pkt->dataLength-16); } else if (buf[0] == 0x03)