From 6dc973eb478c6422f8bce2efaf63e5eedfb13115 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Fri, 18 Jun 2021 18:18:38 +0200 Subject: [PATCH] Fix typo on bresenham src x. --- src/video/vid_tgui9440.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_tgui9440.c b/src/video/vid_tgui9440.c index b59404f15..fd8514301 100644 --- a/src/video/vid_tgui9440.c +++ b/src/video/vid_tgui9440.c @@ -1472,7 +1472,7 @@ tgui_accel_command(int count, uint32_t cpu_dat, tgui_t *tgui) case TGUI_BRESENHAMLINE: { if (count == -1) { - tgui->accel.cx = tgui->accel.src_y; + tgui->accel.cx = tgui->accel.src_x; tgui->accel.cy = tgui->accel.src_y; tgui->accel.dx = tgui->accel.dst_x; tgui->accel.dy = tgui->accel.dst_y;