Allow Win32 to store its saves, config files, etc., elsewhere.
If installed.txt exists(or the executable directory is read-only), use the user's My Documents(XP) or Documents(7/8/8.1) directory to search for everything. If it doesn't, or we can't determine the directory for some reason, use the old behaviour.
Add "Step Prim" button, reorganize buttons a bit.
Add a stub for a vertex preview.
Format stencil and alpha tests differently.

One is the stored value on the right, the other is the vertex value on
the left.
Add a format for clearmode.
Format a few more state values.
A few more texture related formats.
If installed.txt has a path in it, use that instead of the detected Documents directory.
If the custom directory or the current directory is read-only, fall back on the Documents directory.
After that point(if Documents is somehow read-only), we'd be screwed anyway, so there's no need to bother checking it..
Clean up GetSysDirectories. File::GetExeDirectory is much cleaner.
Merge pull request #4070 from thedax/win32Portability

Win32: Make PPSSPP have a portable mode.
Fix critical bug with GetSysDirectories.
Merge pull request #4168 from thedax/win32Portability

Win32: Fix critical bug with GetSysDirectories.
Create the cheats directory always.

Seems like things break otherwise?  Fixes #4169.
Allow cheats to start and stop in game.
Let's just always use PSP/Cheats/, it's simpler.

No reason people on iOS won't want this.
Don't require reset to enable cheats.
Don't crash if the cheat file is inaccessible.
Also allow restartless cheats after loading state.

At least, an older state.
Allocate from heaps downward by default.