poebel / fceugc

Automatically exported from code.google.com/p/fceugc
0 stars 0 forks source link

Wrong horizontal resolution and possible solution #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the "original" 240p video mode.
2. Observe the sprites when the screen is scrolling, easily noticiable in 
the first level of Ninja Gaiden 2 (see the blue buildings on the 
background flickering).

What is the expected output? What do you see instead?

The expected output is just like Snes9x GX. Both use the same resolution, 
but only FCE Ultra GX display image artifacts/errors related to wrong 
video scaling.

Since both consoles use the same horizontal resolution, I compared the 
source code of each emulator and replaced the value of the horizontal 
resolution, trying to match FCE Ultra GX with Snes9x GX. 

Basically, I replaced the fbWidth (512 instead of 640) and "xscale = 512 / 
2" instead of "640 / 2".

Result: perfect picture! The problem was gone. It looks MUCH better now.

What version are you using? On GameCube or Wii?

Wii (last version from the source code)

Please provide any additional information below.

I noticed that there are a lot of people complaining about this problem 
(see issues ID 123 and 174), but I hope that now I can provide a more 
specific feedback about this issue.

Fixing this problem will create a perfect picture when using the original 
video mode, just like the Virtual Console version (in fact, better, since 
the color pallete that FCEUltra use is superior).

I'm not absolutely sure, but since just replacing some values worked for 
me, it looks like a problem easy to fix. 

I really hope you consider to implement this change in the future.

Thanks for your time and dedication.

Original issue reported on code.google.com by thiagoalvesdealmeida@gmail.com on 9 May 2010 at 8:28

GoogleCodeExporter commented 9 years ago
looks good to me, added.

Original comment by dborth@gmail.com on 19 May 2010 at 8:54