Fix typo on bresenham src x.

This commit is contained in:
TC1995
2021-06-18 18:18:38 +02:00
parent 51655552e2
commit 6dc973eb47

View File

@@ -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;