From afb63d0b2f6d9d71baf86c68172f344a7d74cf9c Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 9 May 2016 22:23:54 +0000 Subject: [PATCH] fix crashes in bilinear final filter + HD prescaling (buffer overflows in sloppy filter code, as usual) --- desmume/src/filter/bilinear.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/desmume/src/filter/bilinear.cpp b/desmume/src/filter/bilinear.cpp index 63f190073..fe0e1aff8 100644 --- a/desmume/src/filter/bilinear.cpp +++ b/desmume/src/filter/bilinear.cpp @@ -17,6 +17,12 @@ int systemBlueShift = 0; */ #define RGB1(r,g,b) (((r))<