ref: 514dd494151410ca90eed9868dbef40777293e68
parent: 702ae4615833e2787f5b88949112fb4e75b11485
author: Jean-André Santoni <jean.andre.santoni@gmail.com>
date: Sun Jul 21 18:39:25 EDT 2024
hflip
--- a/vdp.c
+++ b/vdp.c
@@ -55,7 +55,7 @@
int hflip = (info & 1 << 1) != 0;
int vflip = (info & 1 << 2) != 0;
- int data = (tidx << 5) + (tyoff << 2);
+ int data = (tidx << 5) + ((vflip ? 7 - tyoff : tyoff) << 2);
int xx = 7 - txoff;
if (hflip) xx = txoff;
--
⑨