gigaherz / lcd3x

LCD3x is an image filter that simulates the aspect of an LCD screen while at the same time increasing the size of the source image.
Other
7 stars 2 forks source link

Doesn't seem to work with Kega 3.64 #1

Closed jayfisher closed 11 years ago

jayfisher commented 11 years ago

Hi! This filter works great with VBA-M, but when I try to use it with Kega Fusion 3.64, I get a black screen. I'm not sure if this is something you can fix or if it is a problem with Kega itself. I'm using Windows 7 x64. Thanks for your time!

eadmaster commented 11 years ago

it's working nicely for me, try to post your "Fusion.ini"

gigaherz commented 11 years ago

I actually never tested the builds with Kega Fusion, and it appears they do not work under the default settings. I'll go check what's wrong.

gigaherz commented 11 years ago

I tried to load a GameGear ROPM, and it appears to be a Kega bug.

From the data in the function parameters, I deduce this information: Requested pixel format: rgb888 Line pitch (bytes): 640 Image width: 256 [...]

This is impossible. A pixel format of rgb888 requires at least 768 bytes per line, so it can't possibly be requesting a 3x scaling with that information. Either it's requesting < 3X scaling, or it's giving a wrong pitch. Whichever the case, it's outside of the ability of my plugin to process an image given that information, thus the black screen.

EDIT: Oh shit, I DO have a bug! It's not really requesting rgb888, I changed a flag and didn't update all usages.

gigaherz commented 11 years ago

The bug has been fixed in r4. Closing.