From: b Date: Fri, 2 Dec 2022 10:31:15 +0000 (+0100) Subject: Fixed t-1 remap X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=8c85da0b525fbdc75e486d1a1c756c77086cb657;p=ott%2Fenhance Fixed t-1 remap --- diff --git a/remap_t_1.c b/remap_t_1.c index 1116fe7..3daf1c9 100644 --- a/remap_t_1.c +++ b/remap_t_1.c @@ -118,8 +118,7 @@ int subtool_remap_t_1 (int argc, char **argv, int argi, char **err) break; data.new_pal[i].red = ( v[0] << 2) | ((v[1] & 0x30) >> 4); data.new_pal[i].green = ((v[1] & 0x0f) << 4) | ((v[2] & 0x3c) >> 2); - data.new_pal[i].blue = ((v[3] & 0x03) << 6) | v[3] ; - ++data.n1; + data.new_pal[i].blue = ((v[2] & 0x03) << 6) | v[3] ; } r = perform_action_1picture (