hrydgard/ppsspp — pull request #814 by unknownbrackets (2013-02-28 07:08:53+00:00)
Title: sceKernelPartitionMemory() alignment/errors (review?)

Updates tests, so please accept hrydgard/pspautotests#64 first.

I don't have any games this fixes or hurts, but I wanted to improve it to be sure it wasn't a problem for some games that currently fail on startup. Currently fails the test but very close to passes it.

The test actually crashes on my computer, but I can't figure out why. It doesn't happen in debug or if I add `#pragma optimize("", off)` in ConsoleListener.cpp/h... it even started when I just wrapped things. But it's intermittent, and seems like heap corruption...

So, maybe hold off on merging, not sure? I can't seem to find the problem...

-[Unknown]