Netplay.cpp should not include main.h, also fix a format warning
This commit is contained in:
parent
8d31875902
commit
5598065985
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
#include "NDS.h"
|
#include "NDS.h"
|
||||||
#include "NDSCart.h"
|
#include "NDSCart.h"
|
||||||
#include "main.h"
|
|
||||||
//#include "IPC.h"
|
//#include "IPC.h"
|
||||||
#include "Netplay.h"
|
#include "Netplay.h"
|
||||||
//#include "Input.h"
|
//#include "Input.h"
|
||||||
|
@ -442,7 +441,7 @@ printf("[MC] start blob type=%d len=%d\n", type, len);
|
||||||
u8* dst = Blobs[type];
|
u8* dst = Blobs[type];
|
||||||
if (!dst) return;
|
if (!dst) return;
|
||||||
if (BlobLens[type] != len) 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);
|
memcpy(&dst[pos], &buf[16], pkt->dataLength-16);
|
||||||
}
|
}
|
||||||
else if (buf[0] == 0x03)
|
else if (buf[0] == 0x03)
|
||||||
|
|
Loading…
Reference in New Issue