sms, fix center tms text mode (mode 1)
authorkub <derkub@gmail.com>
Wed, 28 Sep 2022 18:53:27 +0000 (18:53 +0000)
committerkub <derkub@gmail.com>
Wed, 28 Sep 2022 18:53:27 +0000 (18:53 +0000)
pico/mode4.c

index d28b1f5..0b49395 100644 (file)
@@ -561,7 +561,7 @@ static void DrawDisplayM1(int scanline)
 
   tilex = cellskip & 0x1f;
   cells = maxcells - cellskip;
-  dx = (cellskip << 3) + line_offset;
+  dx = 8 + (cellskip << 3) + line_offset;
 
   // tiles
   if (!(pv->debug_p & PVD_KILL_B))