hrydgard/ppsspp — pull request #232 by unknownbrackets (2012-12-23 06:51:32+00:00)
Title: Move OSK inputChars to global, fixes release crash

Fixes #229, but I'm not satisfied with it. This was only crashing in Release. It's one of *those*.

I tested with Trails in the Sky, but a bunch of games were crashing in the ELF loader code when 8586bb3 was applied.

Maybe I'm missing something, but I tried:
* Allocating the entire OSK dialog on the heap instead (thinking maybe too much global mem?)
* Using a std::string instead of inputChars (which was imho cleaner.)
* Allocating just inputChars on the heap (just a ptr should be okay, right?)

All crashed same place. I think it was even crashing as a global std::string, so I reverted and just moved the thing out of the class.

Note that the OSK code is not even running. PPSSPP crashes prior to even starting the game.

-[Unknown]