diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/qt_sdl/LocalMP.cpp | 3 | ||||
-rw-r--r-- | src/vsr.h | 4 | ||||
l--------- | src/vsr_img.h | 2 |
3 files changed, 5 insertions, 4 deletions
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 |