diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-05 20:17:52 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-05 20:17:52 +0200 |
commit | 1609ecbe1e217c48189e377060b4068de90c594e (patch) | |
tree | 2806387cb24417cc40b014f35b260b99d7f0b3e8 | |
parent | e361a4510b59b1ab85e2eb98203743b2017246d7 (diff) |
update
-rw-r--r-- | captures.txt | 2 | ||||
-rw-r--r-- | src/frontend/qt_sdl/LocalMP.cpp | 3 | ||||
-rw-r--r-- | src/vsr.h | 4 | ||||
l--------- | src/vsr_img.h | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/captures.txt b/captures.txt index cc80674..3aa05ac 100644 --- a/captures.txt +++ b/captures.txt @@ -27,3 +27,5 @@ melon_1725101597_instance_1.pcap melon_1725108450_instance_0.pcap: First decoded image melon_1725108452_instance_1.pcap +melon_1728147574_instance_0.pcap: completely black message v2 +melon_1728147575_instance_1.pcap diff --git a/src/frontend/qt_sdl/LocalMP.cpp b/src/frontend/qt_sdl/LocalMP.cpp index 9a3adf7..8d3dd8a 100644 --- a/src/frontend/qt_sdl/LocalMP.cpp +++ b/src/frontend/qt_sdl/LocalMP.cpp @@ -500,7 +500,8 @@ int SendPacketGeneric(u32 type, u8* packet, int len, u64 timestamp) } for (size_t i = safe; i < 0xa0; i++) { - packet[0x36 + i] = VSR_PC_MSG_DATA[content_offset - 0x24 + i]; + size_t msgdata_offset = content_offset + i - 0x24; + packet[0x36 + i] = VSR_PC_MSG_DATA[msgdata_offset]; } } #endif @@ -6,10 +6,10 @@ // #define VSR_DUMP_MESSAGES // add "Inject" menu bar item -#define VSR_INJECTION +// #define VSR_INJECTION // add "Fiddle" menu bar item #define VSR_MESSAGE_FIDDLING // drop non "new" frames (resends) -#define VSR_DROP_RESENDS +// #define VSR_DROP_RESENDS diff --git a/src/vsr_img.h b/src/vsr_img.h index 74e7813..09a8369 120000 --- a/src/vsr_img.h +++ b/src/vsr_img.h @@ -1 +1 @@ -../../experiments/conv/chocola.h
\ No newline at end of file +../../experiments/conv/img.h
\ No newline at end of file |