[Scummvm-devel] Fwd: PS2 : stack madness
Willem Jan Palenstijn
wjp at usecode.org
Tue Apr 7 23:38:35 CEST 2009
On Tue, Apr 07, 2009 at 11:17:38PM +0200, sunmax at libero.it wrote:
> Which scaler are you using?
No scaler, just running in native 640x480. It behaves the same with
'-g 2x', though.
I noticed in another mail that you found a place where SP was bogus. Did
you try putting lots of printfs of the stack pointer (or of a local
stack variable) just before that? That might help pin down the exact
code that corrupts the stack. As Max (Horn) mentioned, this could be
done indirectly by a return from a function call.
That would really help, since it's very hard to analyze bugs like this
without run-time information.
Did you already track down what caused the menu to be placed near the
upper-left corner instead of in the center, by the way? (The issue you
illustrated with a photo on March 8.) Maybe that would give a clue
too...
-Willem Jan
More information about the Scummvm-devel
mailing list