Oowoon / emu-1964

Automatically exported from code.google.com/p/emu-1964
0 stars 0 forks source link

Fix loading of hires texture pack for SSB by Pietschie and Bad Randolph #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use the Super Smash Brother hi-res texture pack by Pietschie and Bad Randolph

What is the expected output? What do you see instead?
The game crashes after the nintendo logo screen, it should not crash.

Please use labels and text to provide additional information.
Look into Rice Video Linux changes

Original issue reported on code.google.com by death2dr...@gmail.com on 18 Oct 2009 at 10:20

GoogleCodeExporter commented 9 years ago

Original comment by death2dr...@gmail.com on 19 Oct 2009 at 5:25

GoogleCodeExporter commented 9 years ago
I had a short glance on it. The invalid memory access occures, then the texture 
is
mirrored (SMASH BROTHERS#A2354FF5#2#0#3BF7B27C_ciByRGBA.png). The routine tries 
to
mirrow a line that obviously does not exist (meaning not allocated).

But that is the effect, not the reason. It's not yet clear to me, what is 
initially
causing this effect. Now as I'm writing about that, something comes to my mind, 
which
might cause this trouble. I'll check that as soon as I get time & report the 
result. 

Btw: the pack also contains some textures that are named inproperly or not in a 
valid
format (rgb and alpha having different size)

Original comment by micro...@gmx.net on 20 Oct 2009 at 11:33

GoogleCodeExporter commented 9 years ago
line[x] = (x&maskval2)<=maskval1 ? line[x&maskval1] : 
line[maskval2-(x&maskval2)];
This line

Original comment by death2dr...@gmail.com on 21 Oct 2009 at 6:43

GoogleCodeExporter commented 9 years ago
There's something in the Rice Video linux branch that changes some things to
mirroring thats meant to fix  it up.
I'll look into it now.

Original comment by death2dr...@gmail.com on 21 Oct 2009 at 6:56

GoogleCodeExporter commented 9 years ago
r44 should fix up the crashing problems. Now just need to fix up the textures 
that
aren't loading

Original comment by death2dr...@gmail.com on 21 Oct 2009 at 7:24

GoogleCodeExporter commented 9 years ago
Still some crashing problems exist.

Original comment by death2dr...@gmail.com on 21 Oct 2009 at 10:42

GoogleCodeExporter commented 9 years ago

Original comment by death2dr...@gmail.com on 22 Oct 2009 at 1:06