Skip to content

Commit 8578f4b

Browse files
Fix color zones in JSAUX dock direct mode
1 parent 1127b0a commit 8578f4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Controllers/WushiController/WushiL50USBController.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ void WushiL50USBController::setMode(WushiL50State * in_mode)
4747
| Copy in color data |
4848
\*-----------------------------------------------------*/
4949
memcpy(&usb_buf[0x04 + OFFSET], in_mode->zone0_rgb, 3);
50-
memcpy(&usb_buf[0x07 + OFFSET], in_mode->zone0_rgb, 3);
51-
memcpy(&usb_buf[0x0A + OFFSET], in_mode->zone0_rgb, 3);
52-
memcpy(&usb_buf[0x0D + OFFSET], in_mode->zone0_rgb, 3);
50+
memcpy(&usb_buf[0x07 + OFFSET], in_mode->zone1_rgb, 3);
51+
memcpy(&usb_buf[0x0A + OFFSET], in_mode->zone2_rgb, 3);
52+
memcpy(&usb_buf[0x0D + OFFSET], in_mode->zone3_rgb, 3);
5353

5454
usb_buf[0x11 + OFFSET] = in_mode->wave_ltr;
5555
usb_buf[0x12 + OFFSET] = in_mode->wave_rtl;

0 commit comments

Comments
 (0)