plaidman / retromega-next

Other
35 stars 11 forks source link

Black Frame in some images for a while #1

Closed wariobar closed 2 years ago

wariobar commented 2 years ago

Hi, I'm experiencing some black frames in images sometimes when I am moving from one game to anther. Not always happens and right after the images are displayed well as they are. I didn't have this issue with retro mega before.

Thanks a lot!!

IMG_20220207_131731 IMG_20220207_131801 IMG_20220207_131955 IMG_20220207_131932

plaidman commented 2 years ago

interesting, thanks for the report. I suspect it's a problem when it tries to load the image and for some reason fails. When this happens it should remove the black box, shadow, and the cached image that you're seeing when you highlight over a game but it still shows the previous image. Can you do me a favor and zip up your sega-cd media folder and post them here?

wariobar commented 2 years ago

media.zip

Sure thing, here you go! Yes, it does look like cache issue. It happens also with other games from other consoles/folders, in case is needed I can record a video. Thanks!

plaidman commented 2 years ago

@wariobar I have an update that might fix your issue. would you mind testing this: mediatest.zip

wariobar commented 2 years ago

Great! I'll try it once a have a moment. I'll keep you posted. Thanks a lot!!

plaidman commented 2 years ago

awesome, thanks! I updated it so the shadow is generated, instead of a background image, that should get rid of the black border. I also simplified the scaling logic to hopefully solve an issue where the image loads but doesn't display.

wariobar commented 2 years ago

It works!! Black frames are gone. I didn't have a lot of time for testing, but so far so good. I didn't see any side efects of this fix.

Thanks a lot! ' Mario

plaidman commented 2 years ago

Glad to hear it. I'll close this for now, feel free to reopen it or add a new one if you find anything else. Thanks for testing!