From: kub Date: Tue, 14 Sep 2021 20:57:28 +0000 (+0200) Subject: platform support, dual-licensing for upscaler code X-Git-Tag: v2.00~491 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09449735256d085449bba7032f5920d83e9dce37;p=picodrive.git platform support, dual-licensing for upscaler code --- diff --git a/platform/common/upscale.c b/platform/common/upscale.c index ed3129f3..b750c80a 100644 --- a/platform/common/upscale.c +++ b/platform/common/upscale.c @@ -25,6 +25,11 @@ * 160x144 -> 320x240: GG, PAR 6:5, scaling to 320x240 for DAR 4:3 * * (C) 2021 kub + * + * This work is licensed under the terms of any of these licenses + * (at your option): + * - GNU GPL, version 2 or later. + * - MAME license. */ #include "upscale.h" @@ -371,7 +376,7 @@ void upscale_rgb_bl2_y_16_17(u16 *__restrict di, int ds, u8 *__restrict si, int for (j = 0; j < 12; j++) { h_copy(di, ds, si, ss, width, f_pal); } - /* mix lines 3-10 */ + /* mix lines 4-11 */ di -= 13*ds; v_mix(&di[0], &di[-ds], &di[ds], width, p_05, f_nop); for (j = 0; j < 7; j++) { diff --git a/platform/common/upscale.h b/platform/common/upscale.h index db342c47..9719981e 100644 --- a/platform/common/upscale.h +++ b/platform/common/upscale.h @@ -27,7 +27,10 @@ * * (C) 2021 kub * - * This work is licensed under the terms of MAME license. + * This work is licensed under the terms of any of these licenses + * (at your option): + * - GNU GPL, version 2 or later. + * - MAME license. * See COPYING file in the top-level directory. */ #include