HQ3x/4x ASM implementation produces wrong interpolation on the image's border. Look at the attached screenshot. It is obvious at the top of the "VIOLET CITY" text.
This bug has already been fixed in the C version; look at hq_base.h / line 343 - 372.
The ASM version most likely only has something like skipLine instead of skipLinePlus and skipLineMinus, which is however necessary in order to work correctly.
Â
This bug is most probably the cause why only the HQ3x/4x filters cause an exception with me new multi-threaded filter execution.
I get the following error message:
Unhandled exception at 0x00511ba9 in VisualBoyAdvance.exe: 0xC0000005: Access violation writing location 0x02c21000.
The debugger points me to hq4x_32.asm line 960.
Â
The asm version of the HQ2x filter does not have this bug.
Â
I would really appreciate if anyone knowledgeable of asm can try to figure a fix out for it. Until this bug is fixed, I can't really submit my multi-threading patch [img]<fileStore.core_Emoticons>/emoticons/sad.png[/img]/emoticons/sad@2x.png 2x" width="20" height="20" />