mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.71k stars 788 forks source link

Graphic flickering #1935

Open Klauserus opened 3 years ago

Klauserus commented 3 years ago

Hello

I have discovered the following errors:

  1. At Harvest Moon: Friends of Mineral Town (txt Box)

bug2

logfile.txt

  1. Zelda. Minish Cap (The grass when Princess goes to the right)

bug

My PC Specs:

Win7 64bit, 650 ti GPU, CPU X4 955 BE AMD mgba Branch: heads/0.8.4 Revision: 545a76f876af47671c8089b1ee09bf1d4a55f47e

exelotl commented 3 years ago

Hi, I don't think this is a problem with the emulator. The first gif seems to be an intentional effort by the game developers. Many games use flickering to achieve a semi-transparent effect by taking advantage of ghosting on the GBA's screen.

The effect doesn't work on modern displays which don't have ghosting artifacts. Fortunately mGBA has an interframe blending option which simulates the ghosting artifacts.

Try enabling this setting and see if this improves things for you:

image

endrift commented 3 years ago

That's true of the former, but I'm not sure about the latter example.

profi200 commented 3 years ago

The first looks intentional indeed. For the second one i must be blind but i can't see anything wrong.

endrift commented 3 years ago

It's the door frame on the house at the end. The first 2/3 of the GIF doesn't have it.

profi200 commented 3 years ago

Yeah, i first wanted to point that out but then i remembered how the scrolling across the screen in this game is not exactly smooth but rather "flickery" or however one can describe it. It's very noticeable with bigger screens and sharp scaling. I guess the "grass" bit got me confused.

Klauserus commented 3 years ago

Hello

i have tryed interlacing mode. In Harvest Moon there is a better result. but from time to time it like to be flickering, very short. (cant post this in a gif, because the positiv interlacing effect does not effect on a recorded it.)