Netplay.cpp should not include main.h, also fix a format warning

This commit is contained in:
Nadia Holmquist Pedersen 2024-08-11 03:14:14 +02:00
parent 8d31875902
commit 5598065985
1 changed files with 1 additions and 2 deletions

View File

@ -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)